projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0144261
)
drivers/ata/acard-ahci.c: fix enum warning
author
Jeff Garzik
<jeff@garzik.org>
Fri, 20 May 2011 00:45:15 +0000
(20:45 -0400)
committer
Jeff 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
patch
|
blob
|
history
diff --git
a/drivers/ata/acard-ahci.c
b/drivers/ata/acard-ahci.c
index 339c210f03a67ce016c2d0a6a444f228ebc22497..ae22be4157b5b63927fbda9c8eb7858011194ae8 100644
(file)
--- 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");