Skip to content

Commit a1ce186

Browse files
author
Kalle Valo
committed
Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
This reverts commit bd1d129. The dangling-pointer warnings were disabled kernel-wide by commit 49beadb ("gcc-12: disable '-Wdangling-pointer' warning for now") for v5.19. So this hack in ath6kl is not needed anymore. Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fd7f08d commit a1ce186

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/net/wireless/ath/ath6kl/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ ath6kl_core-y += wmi.o
3636
ath6kl_core-y += core.o
3737
ath6kl_core-y += recovery.o
3838

39-
# FIXME: temporarily silence -Wdangling-pointer on non W=1+ builds
40-
ifndef KBUILD_EXTRA_WARN
41-
CFLAGS_htc_mbox.o += $(call cc-disable-warning, dangling-pointer)
42-
endif
43-
4439
ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
4540
ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
4641

0 commit comments

Comments
 (0)