> -----Original Message----- > From: Íñigo Huguet <ihuguet@xxxxxxxxxx> > Sent: Thursday, January 13, 2022 5:43 PM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Pkshih <pkshih@xxxxxxxxxxx>; kvalo@xxxxxxxxxx; Íñigo Huguet <ihuguet@xxxxxxxxxx> > Subject: [PATCH] rtw89: fix maybe uninitialized `qempty` variable > > 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> [...]