Re: [PATCH 1/2][next][V2] net: usb: asix: Fix less than zero comparison of a u16

From: patchwork-bot+netdevbpf
Date: Wed Jun 09 2021 - 18:30:21 EST


Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 9 Jun 2021 11:24:47 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The comparison of the u16 priv->phy_addr < 0 is always false because
> phy_addr is unsigned. Fix this by assigning the return from the call
> to function asix_read_phy_addr to int ret and using this for the
> less than zero error check comparison.
>
> [...]

Here is the summary with links:
- [1/2,next,V2] net: usb: asix: Fix less than zero comparison of a u16
https://git.kernel.org/netdev/net-next/c/e67665946599
- [2/2,next,V2] net: usb: asix: ax88772: Fix less than zero comparison of a u16
https://git.kernel.org/netdev/net-next/c/c6be5a22fde5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html