Re: [v3] checkpatch: add uninitialized pointer with __free attribute check

From: Markus Elfring

Date: Thu Nov 06 2025 - 12:03:59 EST


>> * Do corresponding source code analysis requirements indicate a need
>> to perform data processing with other programming interfaces than regular expressions?
>
> not sure about other source code analysis tools, but checkpatch
> predominantly uses regexes

Would you become interested to discuss additional software design approaches?


>> * How do you think about to mention the possibility once more that scopes
>> can be reduced for affected local variables?
>> https://elixir.bootlin.com/linux/v6.18-rc4/source/include/linux/cleanup.h#L142-L146
>> ...
>
> The docstring talks about interdependency issues caused by assigning to
> `NULL` which are very rare

It seems that you interpret a linked information source in a special direction.
Several developers are stumbling on challenges also according to software evolution.

Regards,
Markus