[PATCH] nvme: hwmon: fix crash on device teardown

Daniel Wagner dwagner at suse.de
Wed Dec 30 10:31:38 EST 2020


On Wed, Dec 30, 2020 at 04:16:53PM +0100, Daniel Wagner wrote:
> I've attached the hwmon to the nvme object, which fixes the obvious
> problem. But I still don't see any 'DEVRES REM' message. This would
> indicate the nvme object never really goes away... more debugging...

Stupid me, the nvme device is not managed by devm.



More information about the Linux-nvme mailing list