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

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

_coding style issues_


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

total: 0 errors, 1 warnings, 1251 lines checked

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

only message in thread, other threads:[~2023-06-14 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230614172527.157664-2-mattias.ronnblom@ericsson.com>
2023-06-14 17:32 ` |WARNING| pw128712 [PATCH 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).