mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
BPF alignment tests got a conflict because the registers are output as Rn_w instead of just Rn in net-next, and in net a fixup for a testcase prohibits logical operations on pointers before using them. Also, we should attempt to patch BPF call args if JIT always on is enabled. Instead, if we fail to JIT the subprogs we should pass an error back up and fail immediately. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
19d28fbd30
72 changed files with 778 additions and 348 deletions
|
|
@ -236,7 +236,12 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
|
|||
rc = of_mdiobus_register_phy(mdio, child, addr);
|
||||
else
|
||||
rc = of_mdiobus_register_device(mdio, child, addr);
|
||||
if (rc)
|
||||
|
||||
if (rc == -ENODEV)
|
||||
dev_err(&mdio->dev,
|
||||
"MDIO device at address %d is missing.\n",
|
||||
addr);
|
||||
else if (rc)
|
||||
goto unregister;
|
||||
}
|
||||
|
||||
|
|
@ -260,7 +265,7 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
|
|||
|
||||
if (of_mdiobus_child_is_phy(child)) {
|
||||
rc = of_mdiobus_register_phy(mdio, child, addr);
|
||||
if (rc)
|
||||
if (rc && rc != -ENODEV)
|
||||
goto unregister;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue