Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobu…
…s_free Based on commit b27393a Calling mdiobus_free without calling mdiobus_unregister causes BUG_ON(). This patch fixes the issue. The semantic patch that found this issue(http://coccinelle.lip6.fr/): // <smpl> @@ expression E; @@ ... when != mdiobus_unregister(E); + mdiobus_unregister(E); mdiobus_free(E); // </smpl> Signed-off-by: Peter Senna Tschudin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information