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: <20260113173957.432bb9c5@kernel.org>
Date: Tue, 13 Jan 2026 17:39:57 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
 <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Simon Horman
 <horms@...nel.org>, Shuah Khan <shuah@...nel.org>, Willem de Bruijn
 <willemb@...gle.com>, netdev@...r.kernel.org,
 linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests: net: csum: Fix printk format in
 recv_get_packet_csum_status()

On Tue, 13 Jan 2026 18:44:19 +0100 Christophe Leroy (CS GROUP) wrote:
> csum.c:710:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=]

> Correct format from %lu to %u for both.

I mean.. you're going to make the warning appear on every platform
which has a ulong size_t. I think you're looking for %zu?

> Fixes: 91a7de85600d ("selftests/net: add csum offload test")

No Fixes tags on trivial code cleanups please.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ