Message ID | 20250415112916.113455-1-ps.report@gmx.net (mailing list archive) |
---|---|
Headers | show |
Series | net: pktgen: fix checkpatch code style errors/warnings | expand |
Hello: This series was applied to netdev/net-next.git (main) by Paolo Abeni <pabeni@redhat.com>: 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!