For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused

functions for now.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-12-30 20:58:06 +00:00
parent 24da2fe3d0
commit d33c250878
2 changed files with 4 additions and 1 deletions

View File

@ -3461,7 +3461,7 @@ ofed/drivers/infiniband/core/mad.c optional ofed \
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/"

View File

@ -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}}