From: Jeff Garzik Date: Fri, 20 May 2011 00:45:15 +0000 (-0400) Subject: drivers/ata/acard-ahci.c: fix enum warning X-Git-Tag: v3.0~747^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f68b3afe45051d43e9f9277c6f1404670e1b99d2;p=platform%2Fkernel%2Flinux-amlogic.git drivers/ata/acard-ahci.c: fix enum warning Signed-off-by: Jeff Garzik --- 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");