提交 8d2aec51 编写于 作者: D David S. Miller

sparc64: Fix sparse warnings in pci_sun4v.c

'err' variable shadowing in pci_sun4v_probe()
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 77d10d0e
......@@ -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, "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册