Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> writes: > GCC complains: > > In file included from include/linux/ieee80211.h:21, > from include/net/mac80211.h:20, > from drivers/net/wireless/realtek/rtlwifi/rtl8192du/../wifi.h:14, > from drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.c:4: > In function 'u32p_replace_bits', > inlined from '_rtl92du_init_queue_reserved_page.isra' at drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.c:225:2: >>> include/linux/bitfield.h:189:18: warning: 'value32' is used uninitialized [-Wuninitialized] > > Part of the variable is indeed left uninitialised. > > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Closes: https://lore.kernel.org/oe-kbuild-all/202408062100.DWhN0CYH-lkp@xxxxxxxxx/ > Fixes: e769c67105d3 ("wifi: rtlwifi: Add rtl8192du/hw.{c,h}") > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > --- > Kalle and Ping-Ke, > > Kernel 6.11 will be the first one to include this driver. > Should this patch go to the wireless tree? Yes, compiler warning fixes should be always sent to Linus ASAP. Ping, if you agree please assign the patch to me. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches