automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw158621 [PATCH v5 3/5] bpf: add a test for BPF ELF load
       [not found] <20251109200854.45942-4-stephen@networkplumber.org>
@ 2025-11-09 20:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-11-09 20:10 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

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

_coding style issues_


WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __packed over __attribute__((packed))
#131: FILE: app/test/bpf/load.c:17:
+} __attribute__((packed));

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#139: FILE: app/test/bpf/load.c:25:
+extern void dummy_func1(const void *p, uint32_t *v32, uint64_t *v64);

WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("call1") over __attribute__((section("call1")))
#145: FILE: app/test/bpf/load.c:31:
+__attribute__((section("call1"), used))

WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#145: FILE: app/test/bpf/load.c:31:
+__attribute__((section("call1"), used))

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

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

only message in thread, other threads:[~2025-11-09 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20251109200854.45942-4-stephen@networkplumber.org>
2025-11-09 20:10 ` |WARNING| pw158621 [PATCH v5 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).