]> err.no Git - linux-2.6/commit
[SCSI] aic94xx: Remove TMF result code munging
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 07:48:22 +0000 (23:48 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 3 Feb 2007 14:16:19 +0000 (08:16 -0600)
commit058e2c474897dc53c88ac9162f9a9b16a879b8cd
treefbfe6f7d6be148f129389d62e255ff96225c81c1
parenta9344e68ac0a656475006737dbc258d69fe4f7b0
[SCSI] aic94xx: Remove TMF result code munging

In asd_initiate_ssp_tmf, the TMF result code is replaced with
TMF_RESP_FUNC_FAILED except when the TMF returns a result code immediately.
However, TMFs can return result codes via an ESCB... yet these codes are
also replaced with "FAILED".  The only values that can fall into that case
are TMF_* codes anyway, so get rid of this code where COMPLETE and SUCCESS
are turned into FAILED.  This also lets us propagate those TMF_* codes up
to the caller.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic94xx/aic94xx_tmf.c