Thread (2 messages) 2 messages, 2 authors, 2023-08-01

Re: [PATCH v1 net] selftest: net: Assert on a proper value in so_incoming_cpu.c.

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-08-01 22:10:24

Hello:

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

On Mon, 31 Jul 2023 11:15:53 -0700 you wrote:
Dan Carpenter reported an error spotted by Smatch.

  ./tools/testing/selftests/net/so_incoming_cpu.c:163 create_clients()
  error: uninitialized symbol 'ret'.

The returned value of sched_setaffinity() should be checked with
ASSERT_EQ(), but the value was not saved in a proper variable,
resulting in an error above.

[...]
Here is the summary with links:
  - [v1,net] selftest: net: Assert on a proper value in so_incoming_cpu.c.
    https://git.kernel.org/netdev/net/c/3ff1617450ec

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