diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:38:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:38:18 +0000 |
commit | 678392aa6bef5e30cb1b9452978fd0b2ce56c2ee (patch) | |
tree | 26ac06227a6fe6571157a8860bac80506f00c5d7 /src/nvme/mi.c | |
parent | Releasing debian version 1.7.1-1. (diff) | |
download | libnvme-678392aa6bef5e30cb1b9452978fd0b2ce56c2ee.tar.xz libnvme-678392aa6bef5e30cb1b9452978fd0b2ce56c2ee.zip |
Merging upstream version 1.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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; } } |