* [PATCH] Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
@ 2023-07-24 10:08 Kalle Valo
2023-07-26 7:09 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Kalle Valo @ 2023-07-24 10:08 UTC (permalink / raw)
To: linux-wireless
This reverts commit bd1d129daa3ede265a880e2c6a7f91eab0f4dc62.
The dangling-pointer warnings were disabled kernel-wide by commit 49beadbd47c2
("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 <kvalo@kernel.org>
---
drivers/net/wireless/ath/ath6kl/Makefile | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/Makefile b/drivers/net/wireless/ath/ath6kl/Makefile
index a75bfa9fd1cf..dc2b3b46781e 100644
--- a/drivers/net/wireless/ath/ath6kl/Makefile
+++ b/drivers/net/wireless/ath/ath6kl/Makefile
@@ -36,11 +36,6 @@ ath6kl_core-y += wmi.o
ath6kl_core-y += core.o
ath6kl_core-y += recovery.o
-# FIXME: temporarily silence -Wdangling-pointer on non W=1+ builds
-ifndef KBUILD_EXTRA_WARN
-CFLAGS_htc_mbox.o += $(call cc-disable-warning, dangling-pointer)
-endif
-
ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
base-commit: ac528649f7c63bc233cc0d33cff11f767cc666e3
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
2023-07-24 10:08 [PATCH] Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12" Kalle Valo
@ 2023-07-26 7:09 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2023-07-26 7:09 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless
Kalle Valo <kvalo@kernel.org> wrote:
> This reverts commit bd1d129daa3ede265a880e2c6a7f91eab0f4dc62.
>
> The dangling-pointer warnings were disabled kernel-wide by commit 49beadbd47c2
> ("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 <kvalo@kernel.org>
Patch applied to wireless.git, thanks.
a1ce186db7f0 Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230724100823.2948804-1-kvalo@kernel.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-26 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 10:08 [PATCH] Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12" Kalle Valo
2023-07-26 7:09 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).