projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5887dc
)
nvmet-auth: return the error code to the nvmet_auth_ctrl_hash() callers
author
Maurizio Lombardi
<mlombard@redhat.com>
Fri, 12 Apr 2024 13:41:54 +0000
(15:41 +0200)
committer
Keith Busch
<kbusch@kernel.org>
Tue, 7 May 2024 14:57:38 +0000
(07:57 -0700)
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
patch
|
blob
|
history
diff --git
a/drivers/nvme/target/auth.c
b/drivers/nvme/target/auth.c
index fb518b00f71f6034a74be5746fc30b5bb090b972..4f08362aee8b001f958f85a4fadf7c3d8621bee0 100644
(file)
--- a/
drivers/nvme/target/auth.c
+++ b/
drivers/nvme/target/auth.c
@@
-480,7
+480,7
@@
out_free_response:
nvme_auth_free_key(transformed_key);
out_free_tfm:
crypto_free_shash(shash_tfm);
- return
0
;
+ return
ret
;
}
int nvmet_auth_ctrl_exponential(struct nvmet_req *req,