archive mirror
 help / color / mirror / Atom feed
To: Colin King <>
Subject: Re: [PATCH][next][V2] net: pcs: xpcs: Fix a less than zero u16 comparison error
Date: Thu, 17 Jun 2021 18:20:03 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


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

On Tue, 15 Jun 2021 14:52:53 +0100 you wrote:
> From: Colin Ian King <>
> Currently the check for the u16 variable val being less than zero is
> always false because val is unsigned. Fix this by using the int
> variable for the assignment and less than zero check.
> Addresses-Coverity: ("Unsigned compared against 0")
> Fixes: f7380bba42fd ("net: pcs: xpcs: add support for NXP SJA1110")
> Signed-off-by: Colin Ian King <>
> [...]

Here is the summary with links:
  - [next,V2] net: pcs: xpcs: Fix a less than zero u16 comparison error

You are awesome, thank you!
Deet-doot-dot, I am a bot.

      parent reply	other threads:[~2021-06-17 18:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 13:52 [PATCH][next][V2] net: pcs: xpcs: Fix a less than zero u16 comparison error Colin King
2021-06-15 14:01 ` Vladimir Oltean
2021-06-17 18:20 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).