NVMe: Improve error messages
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 11 Apr 2014 15:58:45 +0000 (11:58 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 5 May 2014 14:41:25 +0000 (10:41 -0400)
commit27e8166c31656f7780e682eaf6bc9c3b8dd03253
tree7954a4c32ccc89db93c34e195be69e034d8c2232
parent8757ad65d30f009fe0beeb2d70d3cd834cb998f2
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