Commit 73d148cc authored by Kanchan Joshi's avatar Kanchan Joshi Committed by Keith Busch

nvme: change data type of lba_shift

u8 fits the need, so stop using int for it.
Signed-off-by: default avatarKanchan Joshi <joshi.k@samsung.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 6339b7ed
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment