diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-06-13 18:58:49 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-17 15:51:20 +0200 |
commit | 245067e37d52185a741d269e658afee40d467287 (patch) | |
tree | 662cc8b1468f92541c4127e3ca0454cc5c4a4ffc /usr | |
parent | 86693c43bb01c2597b55ec2fac37214ed1094a49 (diff) |
nvmet: use u32 type for the local variable nsid
In function nvmet_max_nsid() we calculate the max nsid by iterating
over the XArray and store it in the variable nsid that has type of
unsigned long.
Since the value of this function is stored into the subsys->max_nsid
which is of type u32, change the local variable nsid type and the return
type of the same function to u32.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions