[dpdk-test-report] |WARNING| pw43008 [v2, 3/6] net/mlx5: add fate actions to switch flow rules

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 13 11:42:08 CEST 2018


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#69: FILE: drivers/net/mlx5/mlx5_nl_flow.c:68:
+#define ACTIONS_FATE \
+	ACTION_PORT_ID, ACTION_DROP

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#150: FILE: drivers/net/mlx5/mlx5_nl_flow.c:277:
+		if (!mnl_attr_put_check(buf, size, TCA_MIRRED_PARMS,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#173: FILE: drivers/net/mlx5/mlx5_nl_flow.c:300:
+		if (!mnl_attr_put_check(buf, size, TCA_GACT_PARMS,

total: 3 errors, 0 warnings, 0 checks, 134 lines checked


More information about the test-report mailing list