Re: [PATCH net-next v2 0/3] net: pktgen: fix checkpatch code style errors/warnings

From: patchwork-bot+netdevbpf
Date: Thu Apr 17 2025 - 07:20:34 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 15 Apr 2025 13:29:13 +0200 you wrote:
> Fix checkpatch detected code style errors/warnings detected in
> the file net/core/pktgen.c (remaining checkpatch checks will be addressed
> in a follow up patch set).
>
> Changes v1 -> v2:
> - drop already applied patches
> - update "net: pktgen: fix code style (ERROR: else should follow close brace
> '}')"
> Additional add braces around the else statement (as suggested by a follow
> up checkpatch run and by Jakub Kicinski from code review).
> - update "net: pktgen: fix code style (WARNING: please, no space before tabs)"
> Change from spaces to tab for indent (suggested by Jakub Kicinski).
> - update "net: pktgen: fix code style (WARNING: Prefer strscpy over strcpy)"
> Squash memset/strscpy pattern into single strscpy_pad call (suggested
> by Jakub Kicinski).
> - drop "net: pktgen: fix code style (WARNING: braces {} are not necessary for
> single statement blocks)" (suggestd by Jakub Kicinski)
>
> [...]

Here is the summary with links:
- [net-next,v2,1/3] net: pktgen: fix code style (ERROR: else should follow close brace '}')
https://git.kernel.org/netdev/net-next/c/3bc1ca7e173c
- [net-next,v2,2/3] net: pktgen: fix code style (WARNING: please, no space before tabs)
https://git.kernel.org/netdev/net-next/c/65f5b9cb5431
- [net-next,v2,3/3] net: pktgen: fix code style (WARNING: Prefer strscpy over strcpy)
https://git.kernel.org/netdev/net-next/c/422cf22aa332

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