diff options
author | Sagi Grimberg <[email protected]> | 2022-12-25 13:28:51 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-12-28 06:26:35 -1000 |
commit | 76807fcd73b818eb9f245ef1035aed34ecdd9813 (patch) | |
tree | ab215282cc41ee3edaf820f95620192927c7d69c /scripts/gcc-plugins/gcc-common.h | |
parent | 6f99ac04c469b5d0a180a4ccea99d25d5dc9d21c (diff) |
nvme-auth: fix smatch warning complaints
When initializing auth context, there may be no secrets passed
by the user. Make return code explicit when returning successfully.
smatch warnings:
drivers/nvme/host/auth.c:950 nvme_auth_init_ctrl() warn: missing error code? 'ret'
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions