On 28/10/2025 04:15, Miaoqian Lin wrote:
The driver_find_device_by_of_node() function calls driver_find_device and returns a device with its reference count incremented. Add the missing put_device() call to release this reference after the device is used.
Found via static analysis.
What static analysis? You must name the tool.
Anyway, same comments as before.
https://lore.kernel.org/all/?q=dfn%3Adrivers%2Fsoc%2Fsamsung%2Fexynos-pmu.c
Best regards, Krzysztof