[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162327842533.25473.14455359274708008016.git-patchwork-notify@kernel.org>
Date: Wed, 09 Jun 2021 22:40:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Colin King <colin.king@...onical.com>
Cc: andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
davem@...emloft.net, kuba@...nel.org, qiangqing.zhang@....com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] net: phy: realtek: net: Fix less than zero comparison
of a u16
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 9 Jun 2021 18:17:48 +0100 you wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The comparisons of the u16 values priv->phycr1 and priv->phycr2 to less
> than zero always false because they are unsigned. Fix this by using an
> int for the assignment and less than zero check.
>
> Addresses-Coverity: ("Unsigned compared against 0")
> Fixes: 0a4355c2b7f8 ("net: phy: realtek: add dt property to disable CLKOUT clock")
> Fixes: d90db36a9e74 ("net: phy: realtek: add dt property to enable ALDPS mode")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> [...]
Here is the summary with links:
- [next] net: phy: realtek: net: Fix less than zero comparison of a u16
https://git.kernel.org/netdev/net-next/c/f25247d88708
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists