projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d10d0
)
sparc64: Fix sparse warnings in pci_sun4v.c
author
David S. Miller
<davem@davemloft.net>
Fri, 12 Sep 2008 07:01:03 +0000
(
00:01
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 12 Sep 2008 07:01:03 +0000
(
00:01
-0700)
'err' variable shadowing in pci_sun4v_probe()
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_sun4v.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/pci_sun4v.c
b/arch/sparc64/kernel/pci_sun4v.c
index 97a77bcd255554abe9003c0ba3125d17a8573bfd..e86c73ec167b3ff66d887204f41630d71e7f2d08 100644
(file)
--- a/
arch/sparc64/kernel/pci_sun4v.c
+++ b/
arch/sparc64/kernel/pci_sun4v.c
@@
-942,9
+942,9
@@
static int __devinit pci_sun4v_probe(struct of_device *op,
dp = op->node;
if (!hvapi_negotiated++) {
-
int
err = sun4v_hvapi_register(HV_GRP_PCI,
-
vpci_major,
-
&vpci_minor);
+ err = sun4v_hvapi_register(HV_GRP_PCI,
+ vpci_major,
+ &vpci_minor);
if (err) {
printk(KERN_ERR PFX "Could not register hvapi, "