|WARNING| pw131150 [PATCH v3 1/3] lib: introduce dispatcher library
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Sep 4 15:10:30 CEST 2023
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
More information about the test-report
mailing list