Date: Mon, 30 Dec 2013 20:58:06 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260104 - in head/sys: conf modules/ibcore Message-ID: <201312302058.rBUKw63B018134@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302058.rBUKw63B018134>