From: Jeff Garzik Date: Fri, 20 May 2011 00:45:15 +0000 (-0400) Subject: drivers/ata/acard-ahci.c: fix enum warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f68b3afe45051d43e9f9277c6f1404670e1b99d2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 339c210f03a..ae22be4157b 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");