Date: Sat, 4 Jan 2014 22:13:17 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r260293 - in stable: 10/sys/conf 10/sys/modules/ibcore 9/sys/conf Message-ID: <201401042213.s04MDHg1028515@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Jan 4 22:13:16 2014 New Revision: 260293 URL: http://svnweb.freebsd.org/changeset/base/260293 Log: MFC r260104: For sys/ofed/drivers/infiniband/core/cm.c, disable warning about unused functions for now. Modified: stable/10/sys/conf/files stable/10/sys/modules/ibcore/Makefile Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/9/sys/conf/files Directory Properties: stable/9/sys/ (props changed) Modified: stable/10/sys/conf/files ============================================================================== --- stable/10/sys/conf/files Sat Jan 4 22:09:53 2014 (r260292) +++ stable/10/sys/conf/files Sat Jan 4 22:13:16 2014 (r260293) @@ -3440,7 +3440,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: stable/10/sys/modules/ibcore/Makefile ============================================================================== --- stable/10/sys/modules/ibcore/Makefile Sat Jan 4 22:09:53 2014 (r260292) +++ stable/10/sys/modules/ibcore/Makefile Sat Jan 4 22:13:16 2014 (r260293) @@ -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?201401042213.s04MDHg1028515>