diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-05-19 20:45:15 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-05-19 20:45:15 -0400 |
commit | f68b3afe45051d43e9f9277c6f1404670e1b99d2 (patch) | |
tree | 39127c1a3e92e326c8169b905f51f6c5558950bd /drivers/ata | |
parent | 0144261fa677e9490eb112231de30c95af1679d2 (diff) | |
download | linux-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/ata')
-rw-r--r-- | drivers/ata/acard-ahci.c | 2 |
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"); |