]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: fix the wrong setting of nr_maps
authorJianchao Wang <jianchao.w.wang@oracle.com>
Mon, 24 Dec 2018 03:15:53 +0000 (11:15 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Jan 2019 18:47:02 +0000 (13:47 -0500)
commit20f332e6f71a5cd8c5b85bcfda3a8d5aa20de75d
treeacf33c3ebf5a4f274ac00fab9f321cfd07557974
parentdee4eb3eadd13b38deb5e9978cd4da88cca4ff2f
nvme-pci: fix the wrong setting of nr_maps

We only set the nr_maps to 3 if poll queues are supported.

Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c