nvmet-auth: return the error code to the nvmet_auth_ctrl_hash() callers
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/nvme/target/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/auth.c +1 -1
@@ -480,7 +480,7 @@ int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *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,
Signature · 1 line
2.39.3
Reviewed-by Sagi Grimberg <[email protected]>
Quoted 1 line · Maurizio Lombardi
If
nvmet_auth_ctrl_hash()fails, return the error code to its callers
nit:-
If nvmet_auth_ctrl_hash() fails, return the error code to its callers.
Quoted 2 lines
Signed-off-by Maurizio Lombardi <[email protected]>---
Looks good.
Reviewed-by Chaitanya Kulkarni <[email protected]>
-ck
Quoted 3 lines · Maurizio Lombardi
If
nvmet_auth_ctrl_hash()fails, return the error code to its callersSigned-off-by Maurizio Lombardi <[email protected]>
Thanks, applied to nvme-6.9.