summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2011-02-10 11:53:44 +0530
committerJames Bottomley <James.Bottomley@suse.de>2011-02-12 12:51:08 -0600
commitbcfe42e98047f1935c5571c8ea77beb2d43ec19d (patch)
tree10b0f7a29970f3406e5040201ec4602aaa8e4cbc /sound/soc
parent84857c8bf83e8aa87afc57d2956ba01f11d82386 (diff)
downloadop-kernel-dev-bcfe42e98047f1935c5571c8ea77beb2d43ec19d.zip
op-kernel-dev-bcfe42e98047f1935c5571c8ea77beb2d43ec19d.tar.gz
[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>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud