svn commit: r260111 - in head/sys: conf modules/mlx4
Dimitry Andric
dim at FreeBSD.org
Mon Dec 30 22:14:32 UTC 2013
Author: dim
Date: Mon Dec 30 22:14:31 2013
New Revision: 260111
URL: http://svnweb.freebsd.org/changeset/base/260111
Log:
For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about
unused variables for now.
MFC after: 3 days
Modified:
head/sys/conf/files
head/sys/modules/mlx4/Makefile
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Mon Dec 30 21:30:49 2013 (r260110)
+++ head/sys/conf/files Mon Dec 30 22:14:31 2013 (r260111)
@@ -3569,7 +3569,7 @@ ofed/drivers/infiniband/hw/mlx4/alias_GU
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
ofed/drivers/infiniband/hw/mlx4/mcg.c optional mlx4ib \
no-depend obj-prefix "mlx4ib_" \
- compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
+ compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/ -Wno-unused"
ofed/drivers/infiniband/hw/mlx4/sysfs.c optional mlx4ib \
no-depend obj-prefix "mlx4ib_" \
compile-with "${OFED_C_NOIMP} -I$S/ofed/drivers/infiniband/hw/mlx4/"
Modified: head/sys/modules/mlx4/Makefile
==============================================================================
--- head/sys/modules/mlx4/Makefile Mon Dec 30 21:30:49 2013 (r260110)
+++ head/sys/modules/mlx4/Makefile Mon Dec 30 22:14:31 2013 (r260111)
@@ -27,3 +27,6 @@ opt_inet6.h:
.include <bsd.kmod.mk>
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
+
+CWARNFLAGS.mcg.c= -Wno-unused
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
More information about the svn-src-all
mailing list