]> 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)
commit9859b26aee755efde55cbdefa070382c42ba7e3c
treeacf33c3ebf5a4f274ac00fab9f321cfd07557974
parent8f407056f2bb98591ff79ed5c6656bd50f2cce30
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