mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
nvme: fix cntlid type
Controller IDs in NVMe are unsigned 16-bit types. In the Fabrics driver we actually pass ctrl->id by reference, so we need it to have the correct type. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
49bdedb362
commit
76e3914ae5
@ -84,7 +84,7 @@ struct nvme_ctrl {
|
||||
char serial[20];
|
||||
char model[40];
|
||||
char firmware_rev[8];
|
||||
int cntlid;
|
||||
u16 cntlid;
|
||||
|
||||
u32 ctrl_config;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user