Re: [PATCH v2] selftests/net/socket.c: removed warnings from unused returns

From: patchwork-bot+netdevbpf
Date: Wed Aug 20 2025 - 22:30:50 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 18 Aug 2025 19:52:27 -0700 you wrote:
> socket.c: In function ‘run_tests’:
> socket.c:59:25: warning: ignoring return value of ‘strerror_r’ \
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 59 | strerror_r(-s->expect, err_string1, ERR_STRING_SZ);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> socket.c:60:25: warning: ignoring return value of ‘strerror_r’ \
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 60 | strerror_r(errno, err_string2, ERR_STRING_SZ);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Here is the summary with links:
- [v2] selftests/net/socket.c: removed warnings from unused returns
https://git.kernel.org/netdev/net-next/c/6b4b1d577e1f

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