Ping-Ke Shih writes: > On Sat, 2024-05-04 at 07:10 +0000, Kalle Valo wrote: >> >> drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c:986:2: >> ./include/linux/bitfield.h:189:15: warning: 'rate_mask' is used >> uninitialized [-Wuninitialized] >> > > I have updated gcc to 13.2.1 (local build), but still can't see this warning. I'm not sure if you aware that crosstool provides an easy way to test different compilers. More info here: https://wireless.wiki.kernel.org/en/users/drivers/ath10k/codingstyle#tools > Then, I force to add -Wuninitialized and delete -Wno-maybe-uninitialized > locally, and I can see this warning (but -Wmaybe-uninitialized instead). > > I did suspect wireless-next tree does more compiler options, so I also > tried to merge the tree, but still the same. Weird, maybe it's due to different kconfig options? I have attached my .config which I use to compile test wireless trees. > To prevent blocking pull-request, I would make patch and send pull-request > by your finding. I will continue to dig the cause afterward. I don't see any warnings with v2 anymore. Thanks for the quick fix! -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches