Re: Coccinelle: Checking of_node_put() calls with SmPL

From: Markus Elfring
Date: Wed Jul 10 2019 - 11:16:15 EST


> we developed a coccinelle script to detect such problems.

Would you find the implementation of the function âdt_init_idle_driverâ
suspicious according to discussed source code search patterns?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/cpuidle/dt_idle_states.c?id=e9a83bd2322035ed9d7dcf35753d3f984d76c6a5#n208
https://elixir.bootlin.com/linux/v5.2/source/drivers/cpuidle/dt_idle_states.c#L208


> This script is still being improved.

Will corresponding software development challenges become more interesting?

Regards,
Markus