summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-04 22:13:16 +0000
committerdim <dim@FreeBSD.org>2014-01-04 22:13:16 +0000
commit1740bd87f0c5d4f6e4d585c3883661e2500d8bc4 (patch)
treeb0830cf258ba160b69f43d8916de6ef9ceabe373 /sys/modules
parent385c846a94c1cf050fad80f9421fdb7e8d3281c3 (diff)
downloadFreeBSD-src-1740bd87f0c5d4f6e4d585c3883661e2500d8bc4.zip
FreeBSD-src-1740bd87f0c5d4f6e4d585c3883661e2500d8bc4.tar.gz
MFC r260104:
For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ibcore/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/ibcore/Makefile b/sys/modules/ibcore/Makefile
index d913f79..d7973c8 100644
--- a/sys/modules/ibcore/Makefile
+++ b/sys/modules/ibcore/Makefile
@@ -21,3 +21,6 @@ CFLAGS+= -DINET6 -DINET -DOFED
.include <bsd.kmod.mk>
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
+
+CWARNFLAGS.cm.c= -Wno-unused-function
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
OpenPOWER on IntegriCloud