summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-05-20 00:45:15 (GMT)
committerJeff Garzik <jgarzik@pobox.com>2011-05-20 00:45:15 (GMT)
commitf68b3afe45051d43e9f9277c6f1404670e1b99d2 (patch)
tree39127c1a3e92e326c8169b905f51f6c5558950bd /drivers
parent0144261fa677e9490eb112231de30c95af1679d2 (diff)
downloadlinux-f68b3afe45051d43e9f9277c6f1404670e1b99d2.tar.xz
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 339c210..ae22be4 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");