mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
sparc64: Fix sparse warnings in pci_sun4v.c
'err' variable shadowing in pci_sun4v_probe() Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
77d10d0e63
commit
8d2aec5123
1 changed files with 3 additions and 3 deletions
|
|
@ -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, "
|
||||
|
|
|
|||
Loading…
Reference in a new issue