NVMe: Detect command IDs completing that are out of range
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Sun, 6 Feb 2011 13:51:15 +0000 (08:51 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:55 +0000 (15:52 -0400)
commit48e3d39816416b3bf03dee3a796c0c04427c1a31
tree81977d3a24d1541078cba64e626bfadc399d2f82
parentb36235df01ec4141b4e589571d6789076c346d88
NVMe: Detect command IDs completing that are out of range

If the adapter completes a command ID that is outside the bounds of
the array, return CMD_CTX_INVALID instead of random data, and print a
message in the sync_completion handler (which is rapidly becoming the
misc completion handler :-)

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c