isci: improve 'invalid state' warnings
authorDan Williams <dan.j.williams@intel.com>
Fri, 10 Feb 2012 09:05:43 +0000 (01:05 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 17 May 2012 19:27:11 +0000 (12:27 -0700)
commit14e99b4a3f5323bb961754de5024daff79e59b98
tree379c3f28a33865d135969981862eed44e2aba243
parent36be50515fe2aef61533b516fa2576a2c7fe7664
isci: improve 'invalid state' warnings

Convert controller state machine warnings to emit the state number (it
missed the number to string conversion, but since these error rarely
happen not much motivation to go further).

Fix up the rnc warnings to use the state name.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/remote_node_context.c