Skip to content

Commit 73d148c

Browse files
Kanchan Joshikeithbusch
authored andcommitted
nvme: change data type of lba_shift
u8 fits the need, so stop using int for it. Signed-off-by: Kanchan Joshi <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
1 parent 6339b7e commit 73d148c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/host/nvme.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ struct nvme_ns_head {
470470
struct nvme_effects_log *effects;
471471
u64 nuse;
472472
unsigned ns_id;
473-
int lba_shift;
473+
u8 lba_shift;
474474
u16 ms;
475475
u16 pi_size;
476476
u8 pi_type;

0 commit comments

Comments
 (0)