diff options
author | dim <dim@FreeBSD.org> | 2012-08-29 18:14:20 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-08-29 18:14:20 +0000 |
commit | 5e2ff0d24ffdb3748f96775413282c0514875ec6 (patch) | |
tree | c8cc98ae0671028886e0c1f17bd7fd89a2ebde43 | |
parent | 13dd70acbfc7697f51dd422aca571541729fd167 (diff) | |
download | FreeBSD-src-5e2ff0d24ffdb3748f96775413282c0514875ec6.zip FreeBSD-src-5e2ff0d24ffdb3748f96775413282c0514875ec6.tar.gz |
Remove workaround for the clang 3.2 warning in ah_eeprom_9287.c, since
the fix has been applied now.
-rw-r--r-- | sys/conf/files | 2 | ||||
-rw-r--r-- | sys/modules/ath/Makefile | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index a95e045..1e67a9a 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -767,7 +767,7 @@ dev/ath/ath_hal/ah_eeprom_v4k.c \ # XXX Work around clang warning, until maintainer approves fix. dev/ath/ath_hal/ah_eeprom_9287.c \ optional ath_hal | ath_ar9287 \ - compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED} -I$S/dev/ath" + compile-with "${NORMAL_C} -I$S/dev/ath" dev/ath/ath_hal/ah_regdomain.c optional ath \ compile-with "${NORMAL_C} ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} -I$S/dev/ath" # ar5210 diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile index 3c43f2e..6c27c0a 100644 --- a/sys/modules/ath/Makefile +++ b/sys/modules/ath/Makefile @@ -150,6 +150,5 @@ opt_ah.h: CWARNFLAGS.ah_regdomain.c= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} # XXX Work around clang warnings, until maintainer approves fix. -CWARNFLAGS.ah_eeprom_9287.c= ${NO_WSOMETIMES_UNINITIALIZED} CWARNFLAGS.if_ath.c= ${NO_WSOMETIMES_UNINITIALIZED} CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} |