summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2007-01-24 12:42:38 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-09 23:39:34 +0100
commit18d90deb07ed6fc1818b0f0b326ecc788cea514e (patch)
tree47f63efffde8ae10c32d43d346fbb4ef95beef2a /drivers/ata/libata-sff.c
parentsata_promise: kill qc->nsect (diff)
downloadlinux-18d90deb07ed6fc1818b0f0b326ecc788cea514e.tar.xz
linux-18d90deb07ed6fc1818b0f0b326ecc788cea514e.zip
libata: trivial stuff
Readability/typos etc Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
-rw-r--r--drivers/ata/libata-sff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index cfa9ed179d9c..9bbc8749620a 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -775,7 +775,7 @@ void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
* really a timeout event, adjust error mask and
* cancel frozen state.
*/
- if (qc->err_mask == AC_ERR_TIMEOUT && host_stat & ATA_DMA_ERR) {
+ if (qc->err_mask == AC_ERR_TIMEOUT && (host_stat & ATA_DMA_ERR)) {
qc->err_mask = AC_ERR_HOST_BUS;
thaw = 1;
}