diff options
| author | Kashyap, Desai <[email protected]> | 2011-02-10 06:23:44 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2011-02-12 18:51:08 +0000 |
| commit | bcfe42e98047f1935c5571c8ea77beb2d43ec19d (patch) | |
| tree | 10b0f7a29970f3406e5040201ec4602aaa8e4cbc /net/unix/af_unix.c | |
| parent | [SCSI] mptfusion: mptctl_release is required in mptctl.c (diff) | |
| download | kernel-bcfe42e98047f1935c5571c8ea77beb2d43ec19d.tar.gz kernel-bcfe42e98047f1935c5571c8ea77beb2d43ec19d.zip | |
[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: [email protected]
Reported-by: Peter M. Petrakis <[email protected]>
Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
