]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:48:55 +0000 (09:48 +0200)
commit19abd26d8cb0806348921e9f2d5ba3162279de34
treec1016e19d93542ce5122e415043e4f2be62cbb42
parent342700a44cfbfbaaeecc41bc9f995412e542e3ec
nvmet-auth: return the error code to the nvmet_auth_host_hash() callers

[ Upstream commit 46b8f9f74f6d500871985e22eb19560b21f3bc81 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/target/auth.c