Thread (4 messages) 4 messages, 4 authors, 2025-07-02

Re: [PATCH net] lib: test_objagg: Set error message in check_expect_hints_stats()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-07-02 00:39:43
Also in: kernel-janitors, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon, 30 Jun 2025 14:36:40 -0500 you wrote:
Smatch complains that the error message isn't set in the caller:

    lib/test_objagg.c:923 test_hints_case2()
    error: uninitialized symbol 'errmsg'.

This static checker warning only showed up after a recent refactoring
but the bug dates back to when the code was originally added.  This
likely doesn't affect anything in real life.

[...]
Here is the summary with links:
  - [net] lib: test_objagg: Set error message in check_expect_hints_stats()
    https://git.kernel.org/netdev/net/c/e6ed134a4ef5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help