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: <eb974002-efb7-46a7-9292-43dd91812b32@redhat.com>
Date: Tue, 20 Aug 2024 16:39:13 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Zhu Jun <zhujun2@...s.chinamobile.com>, edumazet@...gle.com
Cc: hawk@...nel.org, davem@...emloft.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] examples: Fix the wrong format specifier

On 8/20/24 05:26, Zhu Jun wrote:
> The format specifier of "unsigned int" in printf() should be "%u", not
> "%d".

You must CC the netdev ML for network related patch.

The interface index is constraint by the kernel to be a signed integer, 
(with non negative valid values), the '%d' format string is IMHO 
actually correct.

Cheers,

Paolo


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ