From owner-svn-src-all@FreeBSD.ORG Mon Dec 30 22:14:31 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E184FEE2; Mon, 30 Dec 2013 22:14:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CD65715D5; Mon, 30 Dec 2013 22:14:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUMEVXF049504; Mon, 30 Dec 2013 22:14:31 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUMEV0E049502; Mon, 30 Dec 2013 22:14:31 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201312302214.rBUMEV0E049502@svn.freebsd.org> From: Dimitry Andric Date: Mon, 30 Dec 2013 22:14:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260111 - in head/sys: conf modules/mlx4 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 22:14:32 -0000 Author: dim Date: Mon Dec 30 22:14:31 2013 New Revision: 260111 URL: http://svnweb.freebsd.org/changeset/base/260111 Log: For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about unused variables for now. MFC after: 3 days Modified: head/sys/conf/files head/sys/modules/mlx4/Makefile Modified: head/sys/conf/files ============================================================================== --- head/sys/conf/files Mon Dec 30 21:30:49 2013 (r260110) +++ head/sys/conf/files Mon Dec 30 22:14:31 2013 (r260111) @@ -3569,7 +3569,7 @@ ofed/drivers/infiniband/hw/mlx4/alias_GU compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/" ofed/drivers/infiniband/hw/mlx4/mcg.c optional mlx4ib \ no-depend obj-prefix "mlx4ib_" \ - compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/" + compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/ -Wno-unused" ofed/drivers/infiniband/hw/mlx4/sysfs.c optional mlx4ib \ no-depend obj-prefix "mlx4ib_" \ compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/" Modified: head/sys/modules/mlx4/Makefile ============================================================================== --- head/sys/modules/mlx4/Makefile Mon Dec 30 21:30:49 2013 (r260110) +++ head/sys/modules/mlx4/Makefile Mon Dec 30 22:14:31 2013 (r260111) @@ -27,3 +27,6 @@ opt_inet6.h: .include CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} + +CWARNFLAGS.mcg.c= -Wno-unused +CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}