[bug report] nvmet: implement basic In-Band Authentication

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Jul 18 16:13:23 PDT 2022


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




More information about the Linux-nvme mailing list