diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-02 11:51:53 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-02 16:09:20 +0200 |
commit | 058e55e120ca59d37392f9aa753da2d9ead24505 (patch) | |
tree | 31b248615b0534dce61d52634b3adaae526c89aa /Documentation/kernel-docs.txt | |
parent | [PATCH] libata: pass qc around intead of ap during PIO (diff) | |
download | linux-058e55e120ca59d37392f9aa753da2d9ead24505.tar.xz linux-058e55e120ca59d37392f9aa753da2d9ead24505.zip |
[PATCH] libata: always generate sense if qc->err_mask is non-zero
Current sense generation code does not generate sense error if status
register value doesn't indicate error condition. However, LLDD's may
indicate errors which 't show up in status register. Completing such
qc's without generating sense results in successful completion of
failed commands.
Invoke ata_to_sense_error() regardless of status register if
qc->err_mask is not zero such that ata_to_sense_error() generates
default sense error.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'Documentation/kernel-docs.txt')
0 files changed, 0 insertions, 0 deletions