lkml.org 
[lkml]   [2021]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][next] net: phy: realtek: net: Fix less than zero comparison of a u16
From
Date
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


\
 
 \ /
  Last update: 2021-06-10 00:42    [W:0.036 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site