|WARNING| pw158685 [PATCH v6 2/2] bpf: add test for Rx and Tx filtering
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Nov 11 23:57:42 CET 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/158685
_coding style issues_
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("filter") over __attribute__((section("filter")))
#134: FILE: app/test/bpf/filter.c:21:
+__attribute__((section("filter"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#134: FILE: app/test/bpf/filter.c:21:
+__attribute__((section("filter"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("drop") over __attribute__((section("drop")))
#152: FILE: app/test/bpf/filter.c:39:
+__attribute__((section("drop"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#152: FILE: app/test/bpf/filter.c:39:
+__attribute__((section("drop"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("allow") over __attribute__((section("allow")))
#160: FILE: app/test/bpf/filter.c:47:
+__attribute__((section("allow"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#160: FILE: app/test/bpf/filter.c:47:
+__attribute__((section("allow"), used))
total: 0 errors, 6 warnings, 396 lines checked
Warning in app/test/bpf/filter.c:
Using compiler attribute directly
More information about the test-report
mailing list