public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Dan Carpenter <dan.carpenter@oracle.com>, "hare@suse.de" <hare@suse.de>
Cc: "linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [bug report] nvmet: implement basic In-Band Authentication
Date: Mon, 18 Jul 2022 23:13:23 +0000	[thread overview]
Message-ID: <4b7f6cf5-117c-81d0-17cf-952f4e84d1b3@nvidia.com> (raw)
In-Reply-To: <YtVctvOUthLBZeir@kili>

On 7/18/22 06:14, Dan Carpenter wrote:
> Hello Hannes Reinecke,
> 
> The patch b281bec75946: "nvmet: implement basic In-Band
> Authentication" from Jun 27, 2022, leads to the following Smatch
> static checker warning:
> 
>      drivers/nvme/target/fabrics-cmd-auth.c:251 nvmet_execute_auth_send()
>      warn: impossible condition '(status < 0) => (0-u16max < 0)'
> 
>      drivers/nvme/target/fabrics-cmd-auth.c:488 nvmet_execute_auth_receive()
>      warn: impossible condition '(status < 0) => (0-u16max < 0)'
> 

thanks for reporting this, I've sent out a fix.

-ck



      reply	other threads:[~2022-07-18 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 13:14 [bug report] nvmet: implement basic In-Band Authentication Dan Carpenter
2022-07-18 23:13 ` Chaitanya Kulkarni [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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=4b7f6cf5-117c-81d0-17cf-952f4e84d1b3@nvidia.com \
    --to=chaitanyak@nvidia.com \
    --cc=dan.carpenter@oracle.com \
    --cc=hare@suse.de \
    --cc=linux-nvme@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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