summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-30 22:14:31 +0000
committerdim <dim@FreeBSD.org>2013-12-30 22:14:31 +0000
commit4fd5a251cc0ecc9c3a603b5f0c4074d1584b2dfa (patch)
tree9d381c16b3200dc542b5d3479698928437708826 /sys/modules
parentf0e0e67980b8616485b77a71f1119925c1e89f8a (diff)
downloadFreeBSD-src-4fd5a251cc0ecc9c3a603b5f0c4074d1584b2dfa.zip
FreeBSD-src-4fd5a251cc0ecc9c3a603b5f0c4074d1584b2dfa.tar.gz
For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about
unused variables for now. MFC after: 3 days
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/mlx4/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/mlx4/Makefile b/sys/modules/mlx4/Makefile
index e6f20a7..02ee176 100644
--- a/sys/modules/mlx4/Makefile
+++ b/sys/modules/mlx4/Makefile
@@ -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}}
OpenPOWER on IntegriCloud