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

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

_coding style issues_


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

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#138: FILE: app/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")))
#148: FILE: app/test/bpf/load.c:34:
+__attribute__((section("func"), used))

WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used))
#148: FILE: app/test/bpf/load.c:34:
+__attribute__((section("func"), used))

total: 0 errors, 4 warnings, 287 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-01 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20251101180659.43883-4-stephen@networkplumber.org>
2025-11-01 18:07 ` |WARNING| pw158329 [PATCH v3 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).