Dmitry Antipov <dmantipov@xxxxxxxxx> wrote: > Since 'u8' comparison against zero is always false, drop the > corresponding branches of AMPDU_MIN_SPACE adjustment within > 'rtlxxxx_set_hw_reg()' for rtl8188ee, rtl8192ce, rtl8192de, > rtl8723ae, rtl8723be, and rtl8821ae. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 6016f0cb02f4 wifi: rtlwifi: cleanup few rtlxxxx_set_hw_reg() routines -- https://patchwork.kernel.org/project/linux-wireless/patch/20230925090452.25633-1-dmantipov@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches