[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <96d8ddb6c04651224fc66bca825ba99292fc8f87.camel@gmail.com>
Date: Sat, 22 Nov 2025 22:58:32 +0530
From: ally heev <allyheev@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, Dwaipayan Ray
<dwaipayanray1@...il.com>, Lukas Bulwahn <lukas.bulwahn@...il.com>, Joe
Perches <joe@...ches.com>, Jonathan Corbet <corbet@....net>, Andy
Whitcroft <apw@...onical.com>
Cc: workflows@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Dan Carpenter <dan.carpenter@...aro.org>,
David Hunter <david.hunter.linux@...il.com>, Shuah Khan
<skhan@...uxfoundation.org>, Viresh Kumar <vireshk@...nel.org>, Nishanth
Menon <nm@...com>, Stephen Boyd <sboyd@...nel.org>, linux-pm
<linux-pm@...r.kernel.org>, dan.j.williams@...el.com, Geert Uytterhoeven
<geert@...ux-m68k.org>
Subject: Re: [PATCH RESEND v4] checkpatch: add uninitialized pointer with
__free attribute check
On Sat, 2025-11-22 at 14:01 +0100, Krzysztof Kozlowski wrote:
[...]
> I saw the other discussion and Linus re-iterated old approach/syntax
> preference, thus I think this should also include it, since it is de
> facto a coding style:
>
> "Pointers with __free attribute should be declared in the place of use
> and initialized (see include/linux/cleanup.h)......"
>
> Best regards,
> Krzysztof
Yes. I am planning to do it in v5 along with coding style doc update
Powered by blists - more mailing lists