summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-05-19 20:45:15 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-05-19 20:45:15 -0400
commitf68b3afe45051d43e9f9277c6f1404670e1b99d2 (patch)
tree39127c1a3e92e326c8169b905f51f6c5558950bd /drivers
parent0144261fa677e9490eb112231de30c95af1679d2 (diff)
downloadlinux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.tar.gz
linux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.tar.bz2
linux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.zip
drivers/ata/acard-ahci.c: fix enum warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-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");