summaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-04-11 10:00:15 +0900
committerChristoph Hellwig <hch@lst.de>2025-04-16 07:37:36 +0200
commitb1efcc470eb30073f3dedb9a88cffa71ea75d853 (patch)
treed545974f18733d2f6c424f1cdeae0b5604bf304c /rust/helpers/helpers.c
parent08937bcd4cfe11405d80b35041c38cf4a4b046ed (diff)
downloadlinux-b1efcc470eb30073f3dedb9a88cffa71ea75d853.tar.gz
linux-b1efcc470eb30073f3dedb9a88cffa71ea75d853.tar.bz2
linux-b1efcc470eb30073f3dedb9a88cffa71ea75d853.zip
nvmet: auth: use NULL to clear a pointer in nvmet_auth_sq_free()
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@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions