diff options
author | Dan Carpenter <error27@gmail.com> | 2023-02-16 15:14:49 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-02-28 06:14:44 -0700 |
commit | 51d24f701f453c18cb5f4596d8bbe8034e5d3fb4 (patch) | |
tree | 9f418ddbf7091b7c1e98debb66827fa2f1e78e8f /mm/mincore.c | |
parent | 0dd6fff2aad4e35633fef1ea72838bec5b47559a (diff) |
nvme-auth: fix an error code in nvme_auth_process_dhchap_challenge()
This function was transitioned from returning NVMe status codes to
returning traditional kernel error codes. However, this particular
return now accidentally returns positive error codes like ENOMEM instead
of negative -ENOMEM.
Fixes: b0ef1b11d390 ("nvme-auth: don't use NVMe status codes")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions