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