Search Linux Wireless

Re: [PATCH] rtw89: fix maybe uninitialized `qempty` variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Íñ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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux