|WARNING| pw128669 [PATCH v5 01/15] common/cnxk: add ROC MACsec initialization

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 14 15:09:43 CEST 2023


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128669

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#612: 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, 557 lines checked


More information about the test-report mailing list