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
..
2016-01-07 14:31:27 -05:00
2016-10-20 14:25:23 -04:00
2016-10-30 12:42:58 -04:00
2017-02-07 13:03:10 -05:00
2017-01-18 16:56:10 -05:00
2016-01-07 14:31:27 -05:00
2016-12-10 23:31:19 -05:00
2016-11-30 10:22:27 -05:00
2016-11-30 10:22:27 -05:00
2017-02-01 14:20:20 -05:00
2016-01-07 14:31:27 -05:00
2016-12-24 11:46:01 -08:00
2011-05-23 13:10:23 -07:00
2016-11-09 21:19:53 -05:00
2017-01-17 15:47:25 -05:00
2017-02-07 13:59:27 -05:00
2016-01-07 14:31:27 -05:00
2016-11-17 12:05:05 -05:00
2016-12-24 11:46:01 -08:00
2016-12-10 23:31:19 -05:00
2017-01-09 16:34:39 -05:00
2016-12-24 11:46:01 -08:00
2017-02-07 10:51:46 -05:00
2017-03-09 22:41:03 -08:00
2017-02-07 10:51:46 -05:00
2017-02-07 10:51:46 -05:00
2017-02-09 17:10:23 -05:00
2016-01-07 14:31:26 -05:00
2015-05-14 13:40:55 -04:00
2017-02-07 10:51:46 -05:00
2017-02-07 10:51:46 -05:00
2016-03-16 19:55:37 -04:00
2016-03-14 15:27:22 -04:00
2017-01-12 15:05:10 -05:00
2016-07-16 21:32:58 -07:00
2016-01-07 14:31:26 -05:00
2016-06-10 23:24:54 -07:00
2016-06-10 23:24:53 -07:00
2016-11-09 12:50:55 -05:00
2016-06-15 20:48:52 -07:00
2016-03-14 15:27:22 -04:00
2016-03-21 11:30:01 -04:00
2016-03-14 15:27:22 -04:00
2017-02-02 17:12:20 -05:00
2017-02-02 17:12:20 -05:00
2016-11-09 12:50:55 -05:00
2017-01-29 18:45:15 -05:00
2016-12-10 23:31:19 -05:00
2017-02-08 13:29:04 -05:00
2016-12-10 23:31:19 -05:00
2017-03-05 17:57:27 -08:00
2017-01-25 14:40:19 -05:00
2017-02-24 11:42:55 -05:00
2016-12-24 11:46:01 -08:00
2016-11-28 12:06:54 -05:00
2016-12-10 23:31:19 -05:00
2017-03-07 13:33:24 -08:00
2016-01-07 14:31:27 -05:00
2016-06-27 10:40:57 -04:00
2016-06-27 10:40:57 -04:00
2016-01-07 14:31:27 -05:00
2016-12-02 10:36:47 -05:00
2016-08-23 17:17:48 -07:00