[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176135700577.4120655.10364267359762972985.git-patchwork-notify@kernel.org>
Date: Sat, 25 Oct 2025 01:50:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alessandro Zanni <alessandro.zanni87@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, shuah@...nel.org,
netdev@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] selftest: net: prevent use of uninitialized variable
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 23 Oct 2025 22:53:52 +0200 you wrote:
> Fix to avoid the usage of the `ret` variable uninitialized in the
> following macro expansions.
>
> It solves the following warning:
>
> In file included from netlink-dumps.c:21:
> netlink-dumps.c: In function ‘dump_extack’:
> ../kselftest_harness.h:788:35: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized]
> 788 | intmax_t __exp_print = (intmax_t)__exp; \
> | ^~~~~~~~~~~
> ../kselftest_harness.h:631:9: note: in expansion of macro ‘__EXPECT’
> 631 | __EXPECT(expected, #expected, seen, #seen, ==, 0)
> | ^~~~~~~~
> netlink-dumps.c:169:9: note: in expansion of macro ‘EXPECT_EQ’
> 169 | EXPECT_EQ(ret, FOUND_EXTACK);
> | ^~~~~~~~~
>
> [...]
Here is the summary with links:
- [v2] selftest: net: prevent use of uninitialized variable
https://git.kernel.org/netdev/net-next/c/13cb6ac5b506
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists