projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bcf156
)
nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
author
Ankit Kumar
<ankit.kumar@samsung.com>
Fri, 23 Jun 2023 12:38:05 +0000
(18:08 +0530)
committer
Keith Busch
<kbusch@kernel.org>
Mon, 10 Jul 2023 16:12:31 +0000
(09:12 -0700)
As per NVMe command set specification 1.0c Storage tag size is 7 bits.
Fixes:
4020aad85c67
("nvme: add support for enhanced metadata")
Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
include/linux/nvme.h
patch
|
blob
|
history
diff --git
a/include/linux/nvme.h
b/include/linux/nvme.h
index
182b6d6
..
26dd3f8
100644
(file)
--- a/
include/linux/nvme.h
+++ b/
include/linux/nvme.h
@@
-473,7
+473,7
@@
struct nvme_id_ns_nvm {
};
enum {
- NVME_ID_NS_NVM_STS_MASK = 0x
3
f,
+ NVME_ID_NS_NVM_STS_MASK = 0x
7
f,
NVME_ID_NS_NVM_GUARD_SHIFT = 7,
NVME_ID_NS_NVM_GUARD_MASK = 0x3,
};