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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 27 20:09:52 CEST 2018


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

_coding style issues_


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

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

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#172: FILE: drivers/net/mlx5/mlx5_nl_flow.c:279:
+		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