svn commit: r260025 - in head/sys: conf modules/ath
Dimitry Andric
dim at FreeBSD.org
Sat Dec 28 23:12:33 UTC 2013
Author: dim
Date: Sat Dec 28 23:12:32 2013
New Revision: 260025
URL: http://svnweb.freebsd.org/changeset/base/260025
Log:
Disable warning about unused functions for ar9300_reset.c for now.
MFC after: 3 days
Modified:
head/sys/conf/files
head/sys/modules/ath/Makefile
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Sat Dec 28 23:08:58 2013 (r260024)
+++ head/sys/conf/files Sat Dec 28 23:12:32 2013 (r260025)
@@ -1042,7 +1042,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: head/sys/modules/ath/Makefile
==============================================================================
--- head/sys/modules/ath/Makefile Sat Dec 28 23:08:58 2013 (r260024)
+++ head/sys/modules/ath/Makefile Sat Dec 28 23:12:32 2013 (r260025)
@@ -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