automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw158302 [PATCH 3/5] bpf: add a test for BPF ELF load
       [not found] <20251030173732.246435-4-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/158302

_coding style issues_


WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __packed over __attribute__((packed))
#185: FILE: app/test/bpf/test_bpf_load.c:14:
+} __attribute__((packed));

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#193: FILE: app/test/bpf/test_bpf_load.c:22:
+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")))
#203: FILE: app/test/bpf/test_bpf_load.c:32:
+__attribute__((section("func"), used))

WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#203: FILE: app/test/bpf/test_bpf_load.c:32:
+__attribute__((section("func"), used))

total: 0 errors, 4 warnings, 284 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-30 17:39 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-4-stephen@networkplumber.org>
2025-10-30 17:38 ` |WARNING| pw158302 [PATCH 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).