Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 22:14:31 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
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
Message-ID:  <201312302214.rBUMEV0E049502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.kmod.mk>
 
 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
+
+CWARNFLAGS.mcg.c=	-Wno-unused
+CWARNFLAGS+=		${CWARNFLAGS.${.IMPSRC:T}}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302214.rBUMEV0E049502>