From: Kashyap, Desai Date: Thu, 10 Feb 2011 06:23:44 +0000 (+0530) Subject: [SCSI] mptfusion: Fix Incorrect return value in mptscsih_dev_reset X-Git-Tag: v2.6.38-rc6~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcfe42e98047f1935c5571c8ea77beb2d43ec19d;p=pandora-kernel.git [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 Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed