projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb37ac
)
ata: fix sparse warning in ata_piix.c
author
Harvey Harrison
<harvey.harrison@gmail.com>
Thu, 14 Feb 2008 05:14:05 +0000
(21:14 -0800)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 15 Feb 2008 18:50:58 +0000
(13:50 -0500)
drivers/ata/ata_piix.c:1655:8: warning: symbol 'rc' shadows an earlier one
drivers/ata/ata_piix.c:1616:6: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_piix.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/ata_piix.c
b/drivers/ata/ata_piix.c
index 9c2515f67de56c41237ceb20c221a5fa4e5db2a5..752e7d2f3b2f5e934ce1941b039ae524b118109e 100644
(file)
--- a/
drivers/ata/ata_piix.c
+++ b/
drivers/ata/ata_piix.c
@@
-1652,7
+1652,7
@@
static int __devinit piix_init_one(struct pci_dev *pdev,
u8 tmp;
pci_read_config_byte(pdev, PIIX_SCC, &tmp);
if (tmp == PIIX_AHCI_DEVICE) {
-
int
rc = piix_disable_ahci(pdev);
+ rc = piix_disable_ahci(pdev);
if (rc)
return rc;
}