Thread (3 messages) read the whole thread 3 messages, 3 authors, 2025-11-27

Re: [PATCH net-next v2] selftests/net: initialize char variable to null

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-27 00:30:45
Also in: linux-kselftest, lkml

Hello:

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

On Tue, 25 Nov 2025 22:23:02 +0530 you wrote:
char variable in 'so_txtime.c' & 'txtimestamp.c' were left uninitilized
when switch default case taken. which raises following warning.

	txtimestamp.c:240:2: warning: variable 'tsname' is used uninitialized
	whenever switch default is taken [-Wsometimes-uninitialized]

	so_txtime.c:210:3: warning: variable 'reason' is used uninitialized
	whenever switch default is taken [-Wsometimes-uninitialized]

[...]
Here is the summary with links:
  - [net-next,v2] selftests/net: initialize char variable to null
    https://git.kernel.org/netdev/net-next/c/af7273cc7ae0

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