Íñigo Huguet <ihuguet@xxxxxxxxxx> wrote: > Call to dle_dfi_qempty might fail, leaving qempty.qempty untouched, which > is latter used to control the for loop. If that happens, it's not > initialized anywhere. > > Initialize it so the loop doesn't iterate unless it's modified by the > call to dle_dfi_qempty. > > Signed-off-by: Íñigo Huguet <ihuguet@xxxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 89e4a00ff3c0 rtw89: fix maybe uninitialized `qempty` variable -- https://patchwork.kernel.org/project/linux-wireless/patch/20220113094253.73370-1-ihuguet@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches