nvmet: use u32 for nvmet_subsys max_nsid
Use u32 type for the nsid_max member of the nvmet_subsys structure. This avoids the type confusion when updating the subsys->nax_nsid from ns->nsid. This also matches the nvmet_ns->nsid member. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
f3dce2add3
commit
86693c43bb
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ struct nvmet_subsys {
|
||||||
|
|
||||||
struct xarray namespaces;
|
struct xarray namespaces;
|
||||||
unsigned int nr_namespaces;
|
unsigned int nr_namespaces;
|
||||||
unsigned int max_nsid;
|
u32 max_nsid;
|
||||||
u16 cntlid_min;
|
u16 cntlid_min;
|
||||||
u16 cntlid_max;
|
u16 cntlid_max;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue