mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| amd.c | ||
| aquantia.c | ||
| at803x.c | ||
| bcm-cygnus.c | ||
| bcm-phy-lib.c | ||
| bcm-phy-lib.h | ||
| bcm7xxx.c | ||
| bcm63xx.c | ||
| bcm87xx.c | ||
| broadcom.c | ||
| cicada.c | ||
| davicom.c | ||
| dp83640.c | ||
| dp83640_reg.h | ||
| dp83848.c | ||
| dp83867.c | ||
| et1011c.c | ||
| fixed_phy.c | ||
| icplus.c | ||
| intel-xway.c | ||
| lxt.c | ||
| marvell.c | ||
| mdio-bcm-iproc.c | ||
| mdio-bcm-unimac.c | ||
| mdio-bitbang.c | ||
| mdio-boardinfo.c | ||
| mdio-boardinfo.h | ||
| 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 | ||
| mdio-xgene.h | ||
| mdio_bus.c | ||
| mdio_device.c | ||
| meson-gxl.c | ||
| micrel.c | ||
| microchip.c | ||
| mscc.c | ||
| national.c | ||
| phy.c | ||
| phy_device.c | ||
| phy_led_triggers.c | ||
| qsemi.c | ||
| realtek.c | ||
| smsc.c | ||
| spi_ks8995.c | ||
| ste10Xp.c | ||
| swphy.c | ||
| swphy.h | ||
| teranetics.c | ||
| vitesse.c | ||
| xilinx_gmii2rgmii.c | ||