Files
linux/drivers
Peter Senna Tschudin aa731872f7 drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free
Based on commit b27393aecf

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 <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-02 21:36:06 -04:00
..
2012-10-26 01:05:56 +02:00
2012-10-15 14:45:51 -04:00
2012-10-23 01:03:00 +02:00
2012-10-11 00:45:21 -07:00
2012-10-24 16:58:53 +02:00
2012-10-26 02:20:36 -04:00
2012-10-17 15:53:03 -05:00
2012-10-18 17:50:08 +02:00
2012-10-16 18:07:12 -07:00