summaryrefslogtreecommitdiffstats
path: root/drivers/ata/acard-ahci.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-05-20 02:45:15 +0200
committerJeff Garzik <jgarzik@pobox.com>2011-05-20 02:45:15 +0200
commitf68b3afe45051d43e9f9277c6f1404670e1b99d2 (patch)
tree39127c1a3e92e326c8169b905f51f6c5558950bd /drivers/ata/acard-ahci.c
parentpata_at91: SMC settings calculation bugfixes, support for t6z and IORDY (diff)
downloadlinux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.tar.xz
linux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.zip
drivers/ata/acard-ahci.c: fix enum warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/acard-ahci.c')
-rw-r--r--drivers/ata/acard-ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/acard-ahci.c b/drivers/ata/acard-ahci.c
index 339c210f03a6..ae22be4157b5 100644
--- a/drivers/ata/acard-ahci.c
+++ b/drivers/ata/acard-ahci.c
@@ -417,7 +417,7 @@ static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id
VPRINTK("ENTER\n");
- WARN_ON(ATA_MAX_QUEUE > AHCI_MAX_CMDS);
+ WARN_ON((int)ATA_MAX_QUEUE > AHCI_MAX_CMDS);
if (!printed_version++)
dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");