|WARNING| pw128339 [PATCH v2 01/15] common/cnxk: add ROC MACsec initialization
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jun 7 17:29:54 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128339
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#611: FILE: drivers/common/cnxk/roc_mcs_priv.h:16:
+#define MCS_SUPPORT_CHECK \
+ do { \
+ if (!(roc_feature_bphy_has_macsec() || roc_feature_nix_has_macsec())) \
+ return MCS_ERR_HW_NOTSUP; \
+ } while (0)
total: 0 errors, 1 warnings, 556 lines checked
More information about the test-report
mailing list