projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a551b98
)
ata: duplicate variable sparse warning
author
Stephen Hemminger
<shemminger@vyatta.com>
Mon, 8 Sep 2008 16:31:39 +0000
(09:31 -0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Sat, 13 Sep 2008 20:43:18 +0000
(16:43 -0400)
drivers/ata/ata_piix.c:1502:7: warning: symbol 'rc' shadows an earlier one
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/ata_piix.c
b/drivers/ata/ata_piix.c
index b1d08a8f50030da3bb5d6a74726b5a72fdffe24b..e6b4606e36b68a51448d73b755aab75d91e0fa80 100644
(file)
--- a/
drivers/ata/ata_piix.c
+++ b/
drivers/ata/ata_piix.c
@@
-1499,7
+1499,7
@@
static int __devinit piix_init_one(struct pci_dev *pdev,
* off.
*/
if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x2652) {
-
int
rc = piix_disable_ahci(pdev);
+ rc = piix_disable_ahci(pdev);
if (rc)
return rc;
}