Skip to content

Commit

Permalink
nvme: change data type of lba_shift
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kanchan Joshi authored and Keith Busch committed Jul 31, 2024
1 parent 6339b7e commit 73d148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/host/nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73d148c

Please sign in to comment.