commit | d4047cf99421d434660a5a0c61ac3e83b4ad0dad | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Mon Jun 01 19:41:12 2020 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jul 08 16:16:15 2020 +0200 |
tree | 50883cf1050f8723d789eaa994cf7a86fb7d4073 | |
parent | a87835e9ecbd29ddffdd5bae81dc913afc221abd [diff] |
nvme-core: use u16 type for ctrl->sqsize In nvme_init_identify() when calculating submission queue size use u16 instead of int type in the min_t() since target variable ctrl->sqsize is of type u16. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>