]> git.karo-electronics.de Git - linux-beck.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)
commitff13b39ecf726715a96fcd3c23e50eb792ef6516
treee5e5a1741ff1fc34caff4de585e96310f3d7fbc6
parent9fa196e7fc7a0f12329d5346164abb27f026991c
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