nvme: move AER handling to common code
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Apr 2016 11:52:00 +0000 (13:52 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 2 May 2016 15:09:26 +0000 (09:09 -0600)
commitf866fc4282a81673ef973ad54c68235a3263b42e
treeaf293a09ae3cc133f29075630ca3e34edc94bf96
parent5955be2144b3b56182e2175e7e3d2ddf27fb485d
nvme: move AER handling to common code

The transport driver still needs to do the actual submission, but all the
higher level code can be shared.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c