diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:37:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:37:58 +0000 |
commit | 8c21fd00c98582703f1d0f701cd5bbfca2644b40 (patch) | |
tree | c5b54e8b4b235232b057a9c534d9a16d2208463d /src/nvme/mi.c | |
parent | Adding upstream version 1.7.1. (diff) | |
download | libnvme-8c21fd00c98582703f1d0f701cd5bbfca2644b40.tar.xz libnvme-8c21fd00c98582703f1d0f701cd5bbfca2644b40.zip |
Adding upstream version 1.8.upstream/1.8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/nvme/mi.c')
-rw-r--r-- | src/nvme/mi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvme/mi.c b/src/nvme/mi.c index 82ed88a..84d51b0 100644 --- a/src/nvme/mi.c +++ b/src/nvme/mi.c @@ -433,7 +433,8 @@ int nvme_mi_submit(nvme_mi_ep_t ep, struct nvme_mi_req *req, rc = nvme_mi_verify_resp_mic(resp); if (rc) { nvme_msg(ep->root, LOG_WARNING, "crc mismatch\n"); - return rc; + errno = EBADMSG; + return -1; } } |