Kalle Valo <kvalo@xxxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches