projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvme: Add tertiary number to NVME_VS
[cascardo/linux.git]
/
drivers
/
nvme
/
target
/
core.c
diff --git
a/drivers/nvme/target/core.c
b/drivers/nvme/target/core.c
index
6559d5a
..
b4cacb6
100644
(file)
--- a/
drivers/nvme/target/core.c
+++ b/
drivers/nvme/target/core.c
@@
-882,7
+882,7
@@
struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
if (!subsys)
return NULL;
- subsys->ver =
(1 << 16) | (2 << 8) | 1
; /* NVMe 1.2.1 */
+ subsys->ver =
NVME_VS(1, 2, 1)
; /* NVMe 1.2.1 */
switch (type) {
case NVME_NQN_NVME: