linux-stable/drivers/message/fusion
Kashyap, Desai bcfe42e980 [SCSI] mptfusion: Fix Incorrect return value in mptscsih_dev_reset
There's a branch at the end of this function that
is supposed to normalize the return value with what
the mid-layer expects. In this one case, we get it wrong.

Also increase the verbosity of the INFO level printk
at the end of mptscsih_abort to include the actual return value
and the scmd->serial_number. The reason being success
or failure is actually determined by the state of
the internal tag list when a TMF is issued, and not the
return value of the TMF cmd. The serial_number is also
used in this decision, thus it's useful to know for debugging
purposes.

Cc: stable@kernel.org
Reported-by: Peter M. Petrakis <peter.petrakis@canonical.com>
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-02-12 12:51:08 -06:00
..
lsi tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
Kconfig
Makefile
mptbase.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
mptbase.h mpt fusion: convert to seq_file 2010-08-11 08:59:00 -07:00
mptctl.c [SCSI] mptfusion: mptctl_release is required in mptctl.c 2011-02-12 12:50:48 -06:00
mptctl.h
mptdebug.h
mptfc.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h
mptsas.c Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
mptsas.h [SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS 2010-07-27 12:02:32 -05:00
mptscsih.c [SCSI] mptfusion: Fix Incorrect return value in mptscsih_dev_reset 2011-02-12 12:51:08 -06:00
mptscsih.h
mptspi.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00