Messages in this thread | | | Subject | Re: [PATCH][next] net: phy: realtek: net: Fix less than zero comparison of a u16 | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 09 Jun 2021 22:40:25 +0000 |
| |
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@canonical.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@canonical.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
| |