|WARNING| pw127249 [PATCH 01/15] common/cnxk: add ROC MACsec initialization
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue May 23 22:05:45 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/127249
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#603: FILE: drivers/common/cnxk/roc_mcs_priv.h:16:
+#define MCS_SUPPORT_CHECK \
+ do { \
+ if (!(roc_model_is_cnf10kb() || roc_model_is_cn10kb_a0())) \
+ return MCS_ERR_HW_NOTSUP; \
+ } while (0)
total: 0 errors, 1 warnings, 546 lines checked
Warning in drivers/common/cnxk/roc_mcs.c:
Declaring a variable inside for()
More information about the test-report
mailing list