Re: [PATCH] soc: mediatek: SVS: fix device reference leak in svs_add_device_link()

From: Markus Elfring

Date: Sun Oct 25 2026 - 03:58:35 EST


…
> Drop the reference before returning on both paths.
…

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

Regards,
Markus