NVMe: Improve error messages
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 11 Apr 2014 15:58:45 +0000 (11:58 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 29 May 2014 15:54:26 +0000 (09:54 -0600)
commit12c6eeebbcb7ba499200e71210fc0f80551eaa2c
tree5a58bf8c15f18f125e329225da5e85ae75c72e19
parent809e5cc22750848e26573a54bbaf7da1b65a6a89
NVMe: Improve error messages

Help people diagnose what is going wrong at initialisation time by
printing out which command has gone wrong and what the device returned.
Also fix the error message printed while waiting for reset.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/block/nvme-core.c