[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSc_v+SiHsQdQA6b1J+-_ws=0F-6817O6wWadVpbHTWg9g@mail.gmail.com>
Date: Wed, 1 Feb 2023 09:55:42 -0500
From: Willem de Bruijn <willemb@...gle.com>
To: Andrei Gherzan <andrei.gherzan@...onical.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>,
netdev@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v4 1/4] selftests: net: udpgso_bench_rx: Fix 'used
uninitialized' compiler warning
On Tue, Jan 31, 2023 at 7:18 PM Andrei Gherzan
<andrei.gherzan@...onical.com> wrote:
>
> This change fixes the following compiler warning:
>
> /usr/include/x86_64-linux-gnu/bits/error.h:40:5: warning: ‘gso_size’ may
> be used uninitialized [-Wmaybe-uninitialized]
> 40 | __error_noreturn (__status, __errnum, __format,
> __va_arg_pack ());
> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> udpgso_bench_rx.c: In function ‘main’:
> udpgso_bench_rx.c:253:23: note: ‘gso_size’ was declared here
> 253 | int ret, len, gso_size, budget = 256;
>
> Fixes: 3327a9c46352 ("selftests: add functionals test for UDP GRO")
> Signed-off-by: Andrei Gherzan <andrei.gherzan@...onical.com>
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists