|WARNING| pw113517 [RFC PATCH 04/11] dev: move unrelated macros from header
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Jun 28 16:48:18 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/113517
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#199: FILE: lib/eal/include/rte_common.h:865:
+#define RTE_FUNC_PTR_OR_ERR_RET(func, retval) do { \
+ if ((func) == NULL) \
+ return retval; \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#204: FILE: lib/eal/include/rte_common.h:870:
+#define RTE_FUNC_PTR_OR_RET(func) do { \
+ if ((func) == NULL) \
+ return; \
+} while (0)
total: 0 errors, 2 warnings, 125 lines checked
More information about the test-report
mailing list