diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-01-24 11:42:38 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:34 -0500 |
commit | 18d90deb07ed6fc1818b0f0b326ecc788cea514e (patch) | |
tree | 47f63efffde8ae10c32d43d346fbb4ef95beef2a /drivers/ata/libata-core.c | |
parent | 0feb573f1588f3204a4558896c73703bc54d1862 (diff) | |
download | lwn-18d90deb07ed6fc1818b0f0b326ecc788cea514e.tar.gz lwn-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 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index c1444d8f92c6..781d0959a228 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -1291,7 +1291,7 @@ unsigned ata_exec_internal_sg(struct ata_device *dev, if (ap->ops->post_internal_cmd) ap->ops->post_internal_cmd(qc); - if (qc->flags & ATA_QCFLAG_FAILED && !qc->err_mask) { + if ((qc->flags & ATA_QCFLAG_FAILED) && !qc->err_mask) { if (ata_msg_warn(ap)) ata_dev_printk(dev, KERN_WARNING, "zero err_mask for failed " @@ -2492,7 +2492,7 @@ int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev) for (i = 0; i < ATA_MAX_DEVICES; i++) { dev = &ap->device[i]; - /* don't udpate suspended devices' xfer mode */ + /* don't update suspended devices' xfer mode */ if (!ata_dev_ready(dev)) continue; |