]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: hpsa decode sense data for io and tmf
authorStephen Cameron <stephenmcameron@gmail.com>
Fri, 6 Nov 2015 13:47:40 +0000 (05:47 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 19:45:48 +0000 (11:45 -0800)
commita433bd824c61550e708e74ebad37a0cd9835236b
treed068cd2511868817eeb10751b18adca61a519461
parent1c044062982aa948bff3ca9a1e16904cca64c286
hpsa: hpsa decode sense data for io and tmf

In hba mode, we could get sense data in descriptor format so
we need to handle that.

It's possible for CommandStatus to have value 0x0D
"TMF Function Status", which we should handle.  We will get
this from a P1224 when aborting a non-existent tag, for
example.  The "ScsiStatus" field of the errinfo field
will contain the TMF function status value.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Orabug: 22075051
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h