* |WARNING| pw131817 [PATCH v4 1/3] lib: introduce dispatcher library [not found] <20230922073825.351453-2-mattias.ronnblom@ericsson.com> @ 2023-09-22 7:45 ` checkpatch 0 siblings, 0 replies; only message in thread From: checkpatch @ 2023-09-22 7:45 UTC (permalink / raw) To: test-report; +Cc: Mattias Rönnblom Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/131817 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #348: FILE: lib/dispatcher/rte_dispatcher.c:82: +#define EVD_TRUE_OR_RET_EINVAL(expr, fmt, ...) \ + do { \ + if (unlikely(!(expr))) { \ + RTE_EDEV_LOG_ERR(fmt, __VA_ARGS__); \ + return -EINVAL; \ + } \ + } while (0) total: 0 errors, 1 warnings, 1356 lines checked ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-22 7:45 UTC | newest] Thread overview: (only message) (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20230922073825.351453-2-mattias.ronnblom@ericsson.com> 2023-09-22 7:45 ` |WARNING| pw131817 [PATCH v4 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).