]> asedeno.scripts.mit.edu Git - linux.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)
commit91a509f8b7a8a518723e1755b876b46c537baaef
tree5fb8f33cb3d4392a83be1531f814559bb2fa5553
parented92ad37e88555864f1f830db4037b9535b3392c
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