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

From: ally heev

Date: Thu Nov 06 2025 - 11:29:57 EST


On Wed, 2025-11-05 at 10:18 +0100, Markus Elfring wrote:
[..]
> * 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

> * 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

Regards,
Ally