]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: refactor nvme_poll_irqdisable to make sparse happy
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:48:00 +0000 (09:48 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 18 Dec 2018 16:50:45 +0000 (17:50 +0100)
commitc4d34ea9bcbb5d0738968c2a171acbf42c595a53
tree5fb8f33cb3d4392a83be1531f814559bb2fa5553
parentf385e199d5ebcb67f5e6ebbb339c9a5c50532d29
nvme-pci: refactor nvme_poll_irqdisable to make sparse happy

By duplicating the nvme_process_cq in both branches we keep the
sparse lock context checking happy, so do it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/pci.c