svn commit: r260104 - in head/sys: conf modules/ibcore
Dimitry Andric
dim at FreeBSD.org
Mon Dec 30 20:58:07 UTC 2013
Author: dim
Date: Mon Dec 30 20:58:06 2013
New Revision: 260104
URL: http://svnweb.freebsd.org/changeset/base/260104
Log:
For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused
functions for now.
MFC after: 3 days
Modified:
head/sys/conf/files
head/sys/modules/ibcore/Makefile
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Mon Dec 30 20:37:47 2013 (r260103)
+++ head/sys/conf/files Mon Dec 30 20:58:06 2013 (r260104)
@@ -3461,7 +3461,7 @@ ofed/drivers/infiniband/core/mad.c opti
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
ofed/drivers/infiniband/core/cm.c optional ofed \
no-depend \
- compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
+ compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/ -Wno-unused-function"
ofed/drivers/infiniband/core/cma.c optional ofed \
no-depend \
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/core/"
Modified: head/sys/modules/ibcore/Makefile
==============================================================================
--- head/sys/modules/ibcore/Makefile Mon Dec 30 20:37:47 2013 (r260103)
+++ head/sys/modules/ibcore/Makefile Mon Dec 30 20:58:06 2013 (r260104)
@@ -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}}
More information about the svn-src-head
mailing list