Re: [PATCH V3] b43legacy: Fix assigning negative value to unsigned variable

From: Kalle Valo
Date: Wed Apr 06 2022 - 11:11:29 EST


Haowen Bai <baihaowen@xxxxxxxxx> wrote:

> fix warning reported by smatch:
> drivers/net/wireless/broadcom/b43legacy/phy.c:1181 b43legacy_phy_lo_b_measure()
> warn: assigning (-772) to unsigned variable 'fval'
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>

Patch applied to wireless-next.git, thanks.

3f6b867559b3 b43legacy: Fix assigning negative value to unsigned variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/1648203433-8736-1-git-send-email-baihaowen@xxxxxxxxx/

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