mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
drivers/ata/acard-ahci.c: fix enum warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
0144261fa6
commit
f68b3afe45
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user