aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2025-04-10 09:17:45 +0200
committerJakub Kicinski <kuba@kernel.org>2025-04-14 14:51:32 -0700
commitdceae3e82ff8222f91f49ec26d5f41027ce0562c (patch)
tree49c0a07a0c7bfe7659ac459adde13d2b27ead080 /tools/perf/scripts/python
parentnet: pktgen: fix code style (WARNING: Missing a blank line after declarations) (diff)
downloadlinux-dceae3e82ff8222f91f49ec26d5f41027ce0562c.tar.gz
linux-dceae3e82ff8222f91f49ec26d5f41027ce0562c.zip
net: pktgen: fix code style (WARNING: macros should not use a trailing semicolon)
Fix checkpatch code style warnings: WARNING: macros should not use a trailing semicolon #180: FILE: net/core/pktgen.c:180: +#define func_enter() pr_debug("entering %s\n", __func__); WARNING: macros should not use a trailing semicolon #234: FILE: net/core/pktgen.c:234: +#define if_lock(t) mutex_lock(&(t->if_lock)); CHECK: Unnecessary parentheses around t->if_lock #235: FILE: net/core/pktgen.c:235: +#define if_unlock(t) mutex_unlock(&(t->if_lock)); Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions