]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: use the consistent return type of nvme_pci_iod_alloc_size()
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Fri, 3 Jul 2020 02:49:23 +0000 (10:49 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 14:16:21 +0000 (16:16 +0200)
commit3cefd52d0df68e2db0724f0015215fd639d7bd5a
treebba3226a800e3fcfb81868f92c511570b2d377cf
parentf78575c2dfbb5e2397152d8aac47a5d497190fec
nvme-pci: use the consistent return type of nvme_pci_iod_alloc_size()

The nvme_pci_iod_alloc_size() should return 'size_t' type to be
consistent with the sizeof return value.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c