]> git.baikalelectronics.ru Git - kernel.git/commit
nvme/pci: Delete misleading queue-wrap comment
authorKeith Busch <keith.busch@intel.com>
Fri, 9 Dec 2016 17:08:58 +0000 (12:08 -0500)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Dec 2016 10:33:23 +0000 (11:33 +0100)
commit0960ada0a364e7d4afd6a2e3dea0ec596aa31522
treee5e5a1741ff1fc34caff4de585e96310f3d7fbc6
parentfc93b36e53b9c892fba41e8aaf24e1d5f41cfdd4
nvme/pci: Delete misleading queue-wrap comment

It is not theoretically possible for this driver to wrap twice while
processing completions. The driver allocates only 'queue_depth - 1'
tags, so there can never be more than that to reap when processing a
completion queue. Removing this misleading comment makes it a little
less likely people with broken controllers will blame the driver for
their spurious interrupts.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c