For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning about

unused variables for now.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-12-30 22:14:31 +00:00
parent 198f573526
commit ff96238951
2 changed files with 4 additions and 1 deletions

View File

@ -3569,7 +3569,7 @@ ofed/drivers/infiniband/hw/mlx4/alias_GUID.c optional mlx4ib \
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/"

View File

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