* |WARNING| pw131150 [PATCH v3 1/3] lib: introduce dispatcher library
[not found] <20230904130313.327809-2-mattias.ronnblom@ericsson.com>
@ 2023-09-04 13:10 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-09-04 13:10 UTC (permalink / raw)
To: test-report; +Cc: Mattias Rönnblom
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131150
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#314: FILE: lib/dispatcher/rte_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, 1331 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-04 13:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230904130313.327809-2-mattias.ronnblom@ericsson.com>
2023-09-04 13:10 ` |WARNING| pw131150 [PATCH v3 1/3] lib: introduce dispatcher library 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).