[PATCH 1/2] soc: amlogic: canvas: fix device leak on lookup

Markus Elfring Markus.Elfring at web.de
Fri Sep 26 12:15:29 PDT 2025


> Make sure to drop the reference taken to the canvas platform device when
> looking up its driver data.
…

How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/device.h#L1180

Regards,
Markus



More information about the linux-amlogic mailing list