|WARNING| pw116426 [PATCH v2 1/1] ethdev: support congestion management
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Sep 19 14:18:35 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116426
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#319: FILE: lib/ethdev/rte_cman.c:23:
+#define RTE_CMAN_FUNC_ERR_RET(func) \
+do { \
+ if (func == NULL) { \
+ RTE_ETHDEV_LOG(ERR, "Function not implemented
"); \
+ return -ENOTSUP; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 407 lines checked
More information about the test-report
mailing list