* |WARNING| pw158323 [PATCH v2 4/5] bpf: add test for Rx and Tx filtering
[not found] <20251031164417.14166-5-stephen@networkplumber.org>
@ 2025-10-31 16:44 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-10-31 16:44 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/158323
_coding style issues_
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("filter") over __attribute__((section("filter")))
#146: FILE: app/test/bpf/test_bpf_filter.c:21:
+__attribute__((section("filter"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#146: FILE: app/test/bpf/test_bpf_filter.c:21:
+__attribute__((section("filter"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("drop") over __attribute__((section("drop")))
#164: FILE: app/test/bpf/test_bpf_filter.c:39:
+__attribute__((section("drop"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#164: FILE: app/test/bpf/test_bpf_filter.c:39:
+__attribute__((section("drop"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("allow") over __attribute__((section("allow")))
#172: FILE: app/test/bpf/test_bpf_filter.c:47:
+__attribute__((section("allow"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#172: FILE: app/test/bpf/test_bpf_filter.c:47:
+__attribute__((section("allow"), used))
total: 0 errors, 6 warnings, 389 lines checked
Warning in app/test/bpf/test_bpf_filter.c:
Using compiler attribute directly
^ permalink raw reply [flat|nested] only message in thread