Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: > Fix a new smatch warning: > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:1580 rtl8xxxu_print_chipinfo() warn: always true condition '(priv->chip_cut <= 15) => (0-15 <= 15)' > > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Link: https://lore.kernel.org/oe-kbuild-all/202302140753.71IgU77A-lkp@xxxxxxxxx/ > Fixes: 7b0ac469e331 ("wifi: rtl8xxxu: Recognise all possible chip cuts") > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. b9b1e4fe2957 wifi: rtl8xxxu: Remove always true condition in rtl8xxxu_print_chipinfo -- https://patchwork.kernel.org/project/linux-wireless/patch/68eff98b-a022-5a00-f330-adf623a35772@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches