automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw100306 [PATCH v12 04/12] bpf: add function to convert classic BPF to DPDK BPF
       [not found] <20211001162705.442298-5-stephen@networkplumber.org>
@ 2021-10-01 16:32 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-10-01 16:32 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#461: FILE: lib/bpf/bpf_convert.c:348:
+#define BPF_EMIT_JMP							\
+			do {						\
+				if (target >= len)			\
+					goto err;			\
+				insn->off = addrs ? addrs[target] - addrs[i] - 1 : 0; \
+				/* Adjust pc relative offset for 2nd or 3rd insn. */ \
+				insn->off -= insn - tmp_insns;		\
+			} while (0)

total: 0 errors, 1 warnings, 623 lines checked

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

only message in thread, other threads:[~2021-10-01 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211001162705.442298-5-stephen@networkplumber.org>
2021-10-01 16:32 ` [dpdk-test-report] |WARNING| pw100306 [PATCH v12 04/12] bpf: add function to convert classic BPF to DPDK BPF 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).