nvme: move nvme_error_status to common code
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:39 +0000 (07:58 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:39 +0000 (10:59 -0700)
commit15a190f7f57a2e46717490c35ac09882042a200b
tree9456260512e109891f81a05dc6426ce03287fe82
parentd4f6c3aba5b496a2cb80a8e8e082ae51e46579f3
nvme: move nvme_error_status to common code

And mark it inline so that we don't slow down the completion path by
having to turn it into a forced out of line call.

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