diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-14 18:27:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-16 15:11:56 +0000 |
commit | 6197903bd42478987516bc4cc3f0769488a37065 (patch) | |
tree | 508d399340039960289dd1d96696db7c56c22321 /nvme-status.h | |
parent | Adding upstream version 1.16. (diff) | |
download | nvme-cli-6197903bd42478987516bc4cc3f0769488a37065.tar.xz nvme-cli-6197903bd42478987516bc4cc3f0769488a37065.zip |
Adding upstream version 2.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | nvme-status.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nvme-status.h b/nvme-status.h deleted file mode 100644 index 92a474c..0000000 --- a/nvme-status.h +++ /dev/null @@ -1,14 +0,0 @@ -#include <linux/types.h> -#include <stdbool.h> - -/* - * nvme_status_type - It gives SCT(Status Code Type) in status field in - * completion queue entry. - * @status: status field located at DW3 in completion queue entry - */ -static inline __u8 nvme_status_type(__u16 status) -{ - return (status & 0x700) >> 8; -} - -__u8 nvme_status_to_errno(int status, bool fabrics); |