nvmet-auth: return the error code to the nvmet_auth_ctrl_hash() callers
authorMaurizio Lombardi <mlombard@redhat.com>
Fri, 12 Apr 2024 13:41:54 +0000 (15:41 +0200)
committerKeith Busch <kbusch@kernel.org>
Tue, 7 May 2024 14:57:38 +0000 (07:57 -0700)
commit4b9a89be214235acbff003232baba123c868a25c
treeb282d6dac159313a7c3ffacd62c530c5e80fc910
parentd5887dc6b6c054d0da3cd053afc15b7be1f45ff6
nvmet-auth: return the error code to the nvmet_auth_ctrl_hash() callers

If nvmet_auth_ctrl_hash() fails, return the error code to its callers

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