[PATCH] nvmet: auth: Avoid sparse warning in nvmet_auth_sq_free()
Chaitanya Kulkarni
chaitanyak at nvidia.com
Sun Apr 13 12:46:20 PDT 2025
On 4/10/25 18:00, Damien Le Moal wrote:
> When compiling with C=1, the following sparse warning is generated:
>
> auth.c:243:23: warning: Using plain integer as NULL pointer
>
> Avoid this warning by using NULL to instead of 0 to set the sq tls_key
> pointer.
>
> Fixes: fa2e0f8bbc68 ("nvmet-tcp: support secure channel concatenation")
> Signed-off-by: Damien Le Moal<dlemoal at kernel.org>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list