kernel_optimize_test/drivers/net/phy
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
..
amd.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
at803x.c phy: add AT803x driver 2012-10-18 15:34:30 -04:00
bcm63xx.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
bcm87xx.c net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver 2012-09-22 15:33:46 -04:00
broadcom.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
cicada.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
davicom.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
dp83640_reg.h
dp83640.c ptp: link the phc device to its parent device 2012-09-22 15:42:38 -04:00
et1011c.c
fixed.c phy: Use pr_<level> 2012-06-11 16:58:24 -07:00
icplus.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
Kconfig phy: add AT803x driver 2012-10-18 15:34:30 -04:00
lxt.c lxt PHY: Support for the buggy LXT973 rev A2 2012-09-27 17:58:06 -04:00
Makefile phy: add AT803x driver 2012-10-18 15:34:30 -04:00
marvell.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
mdio_bus.c netdev/phy: Prototype of_mdio_find_bus() 2012-10-09 13:54:59 -04:00
mdio-bitbang.c drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free 2012-11-02 21:36:06 -04:00
mdio-gpio.c of/mdio-gpio: Simplify the way device tree support is implemented. 2012-08-30 12:37:52 -04:00
mdio-mux-gpio.c drivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc'd data 2012-08-06 13:24:27 -07:00
mdio-mux-mmioreg.c netdev/phy: mdio-mux-mmioreg.c should include of_address.h 2012-09-07 17:32:25 -04:00
mdio-mux.c netdev/phy: skip disabled mdio-mux nodes 2012-08-20 02:16:00 -07:00
mdio-octeon.c netdev: mdio-octeon.c: Convert to use device tree. 2012-07-23 13:54:53 +01:00
micrel.c phy/micrel: Rename KS80xx to KSZ80xx 2012-09-24 15:54:33 -04:00
national.c phy: Use pr_<level> 2012-06-11 16:58:24 -07:00
phy_device.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
phy.c mdio: translation of MMD EEE registers to/from ethtool settings 2012-08-22 22:58:27 -07:00
qsemi.c
realtek.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
smsc.c net: phy: smsc: Implement PHY config_init for LAN87xx 2012-09-27 18:28:30 -04:00
spi_ks8995.c phy: Use pr_<level> 2012-06-11 16:58:24 -07:00
ste10Xp.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
vitesse.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00