automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw158303 [PATCH 4/5] bpf: add test for rx and tx filtering
       [not found] <20251030173732.246435-5-stephen@networkplumber.org>
@ 2025-10-30 17:38 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-10-30 17:38 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/158303

_coding style issues_


WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("filter") over __attribute__((section("filter")))
#140: FILE: app/test/bpf/test_bpf_filter.c:19:
+__attribute__((section("filter"), used))

WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#140: FILE: app/test/bpf/test_bpf_filter.c:19:
+__attribute__((section("filter"), used))

WARNING:STATIC_CONST_CHAR_ARRAY: const array should probably be static const
#314: FILE: app/test/test_bpf.c:3556:
+	const char null_dev[] = "net_null_bpf0";

WARNING:STATIC_CONST_CHAR_ARRAY: const array should probably be static const
#388: FILE: app/test/test_bpf.c:3630:
+	const char null_dev[] = "net_null_bpf0";

total: 0 errors, 4 warnings, 345 lines checked
Warning in app/test/bpf/test_bpf_filter.c:
Using compiler attribute directly

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-10-30 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20251030173732.246435-5-stephen@networkplumber.org>
2025-10-30 17:38 ` |WARNING| pw158303 [PATCH 4/5] bpf: add test for rx and tx filtering checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).