[PATCH V2] b43: Fix assigning negative value to unsigned variable

Kalle Valo kvalo at kernel.org
Wed Apr 6 05:14:30 PDT 2022


Haowen Bai <baihaowen at meizu.com> wrote:

> fix warning reported by smatch:
> drivers/net/wireless/broadcom/b43/phy_n.c:585 b43_nphy_adjust_lna_gain_table()
> warn: assigning (-2) to unsigned variable '*(lna_gain[0])'
> 
> Signed-off-by: Haowen Bai <baihaowen at meizu.com>

Patch applied to wireless-next.git, thanks.

11800d893b38 b43: Fix assigning negative value to unsigned variable

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1648203315-28093-1-git-send-email-baihaowen@meizu.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the b43-dev mailing list