drivers/ata/acard-ahci.c: fix enum warning
authorJeff Garzik <jeff@garzik.org>
Fri, 20 May 2011 00:45:15 +0000 (20:45 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 20 May 2011 00:45:15 +0000 (20:45 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/acard-ahci.c

index 339c210..ae22be4 100644 (file)
@@ -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");