lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJuCfpEyz6bbPa76fawWbAW=Wj6qDxo8v+RftYCMxE3iiGVdBQ@mail.gmail.com>
Date: Wed, 5 Nov 2025 16:39:37 -0800
From: Suren Baghdasaryan <surenb@...gle.com>
To: SeongJae Park <sj@...nel.org>
Cc: zeng_chi911@....com, akpm@...ux-foundation.org, kent.overstreet@...ux.dev, 
	linux-kernel@...r.kernel.org, linux-mm@...ck.org, zengchi@...inos.cn
Subject: Re: [PATCH] alloc_tag: Use %pe format specifier

On Tue, Nov 4, 2025 at 8:47 PM SeongJae Park <sj@...nel.org> wrote:
>
> On Wed,  5 Nov 2025 10:39:25 +0800 zeng_chi911@....com wrote:
>
> > From: Zeng Chi <zengchi@...inos.cn>
> >
> > The %pe format specifier is designed to print error pointers. It prints
> > a symbolic error name (eg. -EINVAL) and it makes the code simpler by
> > omitting PTR_ERR();
> >
> > This patch fixes this cocci report:
> > lib/alloc_tag.c:776:63-70: WARNING: Consider using %pe to print PTR_ERR()
> >
> > Signed-off-by: Zeng Chi <zengchi@...inos.cn>
>
> Acked-by: SeongJae Park <sj@...nel.org>

Acked-by: Suren Baghdasaryan <surenb@...gle.com>

>
>
> Thanks,
> SJ
>
> [...]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ