libata-sff: fix incorrect EH message
The EH message for NODEV_HINT path was describing the opposite condition. Fix it. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
f3b8436ad9
commit
80ee6f54f5
2 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
|
||||||
* condition. Mark hint.
|
* condition. Mark hint.
|
||||||
*/
|
*/
|
||||||
ata_ehi_push_desc(ehi, "ST-ATA: "
|
ata_ehi_push_desc(ehi, "ST-ATA: "
|
||||||
"DRQ=1 with device error, "
|
"DRQ=0 without device error, "
|
||||||
"dev_stat 0x%X", status);
|
"dev_stat 0x%X", status);
|
||||||
qc->err_mask |= AC_ERR_HSM |
|
qc->err_mask |= AC_ERR_HSM |
|
||||||
AC_ERR_NODEV_HINT;
|
AC_ERR_NODEV_HINT;
|
||||||
|
|
Loading…
Reference in a new issue