svn commit: r260297 - in stable/10/sys: conf modules/mlx4

Dimitry Andric dim at FreeBSD.org
Sat Jan 4 23:00:57 UTC 2014


Author: dim
Date: Sat Jan  4 23:00:56 2014
New Revision: 260297
URL: http://svnweb.freebsd.org/changeset/base/260297

Log:
  MFC r260111:
  
  For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about
  unused variables for now.

Modified:
  stable/10/sys/conf/files
  stable/10/sys/modules/mlx4/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/conf/files
==============================================================================
--- stable/10/sys/conf/files	Sat Jan  4 22:30:18 2014	(r260296)
+++ stable/10/sys/conf/files	Sat Jan  4 23:00:56 2014	(r260297)
@@ -3548,7 +3548,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: stable/10/sys/modules/mlx4/Makefile
==============================================================================
--- stable/10/sys/modules/mlx4/Makefile	Sat Jan  4 22:30:18 2014	(r260296)
+++ stable/10/sys/modules/mlx4/Makefile	Sat Jan  4 23:00:56 2014	(r260297)
@@ -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}}


More information about the svn-src-stable mailing list