automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw127151 [RFC v3 1/3] eventdev: introduce event dispatcher
       [not found] <20230522091628.96236-2-mattias.ronnblom@ericsson.com>
@ 2023-05-22  9:24 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-05-22  9:24 UTC (permalink / raw)
  To: test-report; +Cc: Mattias Rönnblom

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#242: FILE: lib/eventdev/rte_event_dispatcher.c:78:
+#define RED_VALID_ID_OR_RET_EINVAL(id)					\
+	do {								\
+		if (unlikely(!red_has_dispatcher(id))) {		\
+			RTE_EDEV_LOG_ERR("Invalid dispatcher id %d
", id); \
+			return -EINVAL;					\
+		}							\
+	} while (0)

total: 0 errors, 1 warnings, 1142 lines checked

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

only message in thread, other threads:[~2023-05-22  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230522091628.96236-2-mattias.ronnblom@ericsson.com>
2023-05-22  9:24 ` |WARNING| pw127151 [RFC v3 1/3] eventdev: introduce event dispatcher 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).