svn commit: r260272 - in stable/10/sys: conf modules/ath
Dimitry Andric
dim at FreeBSD.org
Sat Jan 4 18:19:54 UTC 2014
Author: dim
Date: Sat Jan 4 18:19:53 2014
New Revision: 260272
URL: http://svnweb.freebsd.org/changeset/base/260272
Log:
MFC r260025:
Disable warning about unused functions for ar9300_reset.c for now.
Modified:
stable/10/sys/conf/files
stable/10/sys/modules/ath/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/conf/files
==============================================================================
--- stable/10/sys/conf/files Sat Jan 4 18:10:15 2014 (r260271)
+++ stable/10/sys/conf/files Sat Jan 4 18:19:53 2014 (r260272)
@@ -1045,7 +1045,7 @@ contrib/dev/ath/ath_hal/ar9300/ar9300_re
contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c optional ath_hal | ath_ar9300 \
compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c optional ath_hal | ath_ar9300 \
- compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED}"
+ compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function"
contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c optional ath_hal | ath_ar9300 \
compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c optional ath_hal | ath_ar9300 \
Modified: stable/10/sys/modules/ath/Makefile
==============================================================================
--- stable/10/sys/modules/ath/Makefile Sat Jan 4 18:10:15 2014 (r260271)
+++ stable/10/sys/modules/ath/Makefile Sat Jan 4 18:19:53 2014 (r260272)
@@ -166,4 +166,4 @@ CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}
# AR9300 HAL build overrides, as there's still some code to tidy up
CWARNFLAGS.ar9300_eeprom.c= ${NO_WCONSTANT_CONVERSION}
-CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED}
+CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function
More information about the svn-src-all
mailing list