* |WARNING| pw158322 [PATCH v2 3/5] bpf: add a test for BPF ELF load
[not found] <20251031164417.14166-4-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/158322
_coding style issues_
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __packed over __attribute__((packed))
#188: FILE: app/test/bpf/test_bpf_load.c:16:
+} __attribute__((packed));
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#196: FILE: app/test/bpf/test_bpf_load.c:24:
+extern void dummy_func1(const void *p, uint32_t *v32, uint64_t *v64);
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("func") over __attribute__((section("func")))
#206: FILE: app/test/bpf/test_bpf_load.c:34:
+__attribute__((section("func"), used))
WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#206: FILE: app/test/bpf/test_bpf_load.c:34:
+__attribute__((section("func"), used))
total: 0 errors, 4 warnings, 286 lines checked
Warning in app/test/bpf/test_bpf_load.c:
Using compiler attribute directly
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-31 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20251031164417.14166-4-stephen@networkplumber.org>
2025-10-31 16:44 ` |WARNING| pw158322 [PATCH v2 3/5] bpf: add a test for BPF ELF load 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).