]> git.dujemihanovic.xyz Git - linux.git/commit
nvmet-auth: return the error code to the nvmet_auth_host_hash() callers
authorMaurizio Lombardi <mlombard@redhat.com>
Wed, 10 Apr 2024 09:48:41 +0000 (11:48 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 1 May 2024 09:58:42 +0000 (02:58 -0700)
commit46b8f9f74f6d500871985e22eb19560b21f3bc81
treecde21e5bcf1842b756dbdfd2e015172ddb15de04
parent863fe60ed27f2c85172654a63c5b827e72c8b2e6
nvmet-auth: return the error code to the nvmet_auth_host_hash() callers

If the nvmet_auth_host_hash() function fails, the error code should
be returned to its callers.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/auth.c