alistair23-linux/drivers/net/phy
Andrew Lunn 296739839f net: phy: marvell: Fix double free of hwmon device
The hwmon temperature sensor devices is registered using a devm_hwmon
API call.  The marvell_release() would then manually free the device,
not using a devm_hmon API, resulting in the device being removed
twice, leading to a crash in kernfs_find_ns() during the second
removal.

Remove the manual removal, which makes marvell_release() empty, so
remove it as well.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Fixes: 0b04680fda ("phy: marvell: Add support for temperature sensor")
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-09 22:41:03 -08:00
..
amd.c
aquantia.c
at803x.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c net: phy: bcm7xxx: Add BCM74371 PHY ID 2017-02-07 13:03:10 -05:00
bcm63xx.c
bcm87xx.c
broadcom.c net: phy: broadcom: rehook BCM54612E specific init 2017-02-01 14:20:20 -05:00
cicada.c
davicom.c
dp83640.c
dp83640_reg.h
dp83848.c
dp83867.c net: phy: dp83867: Recover from "port mirroring" N/A MODE4 2017-02-07 13:59:27 -05:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
Kconfig
lxt.c
Makefile net: phy: Allow pre-declaration of MDIO devices 2017-02-07 10:51:46 -05:00
marvell.c net: phy: marvell: Fix double free of hwmon device 2017-03-09 22:41:03 -08:00
mdio-bcm-iproc.c net: phy: Initialize mdio clock at probe function 2017-02-09 17:10:23 -05:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c net: phy: Allow pre-declaration of MDIO devices 2017-02-07 10:51:46 -05:00
mdio-boardinfo.h net: phy: Allow pre-declaration of MDIO devices 2017-02-07 10:51:46 -05:00
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-moxart.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c xgene_enet: remove bogus forward declarations 2017-02-02 17:12:20 -05:00
mdio-xgene.h xgene_enet: remove bogus forward declarations 2017-02-02 17:12:20 -05:00
mdio_bus.c net: phy: Allow pre-declaration of MDIO devices 2017-02-07 10:51:46 -05:00
mdio_device.c net: phy: Allow pre-declaration of MDIO devices 2017-02-07 10:51:46 -05:00
meson-gxl.c
micrel.c net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause 2017-01-29 18:45:15 -05:00
microchip.c
mscc.c net: phy: Add LED mode driver for Microsemi PHYs. 2017-02-08 13:29:04 -05:00
national.c
phy.c net: phy: Add missing driver check in phy_aneg_done() 2017-02-24 11:42:55 -05:00
phy_device.c net: phy: Do not perform software reset for Generic PHY 2017-03-05 17:57:27 -08:00
phy_led_triggers.c net: phy: leds: Break dependency of phy.h on phy_led_triggers.h 2017-01-25 14:40:19 -05:00
qsemi.c
realtek.c
smsc.c
spi_ks8995.c spi_ks8995: regs_size incorrect for some devices 2017-03-07 13:33:24 -08:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c
vitesse.c
xilinx_gmii2rgmii.c