projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339b7e
)
nvme: change data type of lba_shift
author
Kanchan Joshi
<joshi.k@samsung.com>
Tue, 30 Jul 2024 10:31:37 +0000
(16:01 +0530)
committer
Keith Busch
<kbusch@kernel.org>
Wed, 31 Jul 2024 14:40:10 +0000
(07:40 -0700)
u8 fits the need, so stop using int for it.
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/nvme.h
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/nvme.h
b/drivers/nvme/host/nvme.h
index
c6386af
..
6039dc7
100644
(file)
--- a/
drivers/nvme/host/nvme.h
+++ b/
drivers/nvme/host/nvme.h
@@
-470,7
+470,7
@@
struct nvme_ns_head {
struct nvme_effects_log *effects;
u64 nuse;
unsigned ns_id;
-
int
lba_shift;
+
u8
lba_shift;
u16 ms;
u16 pi_size;
u8 pi_type;