* [dpdk-test-report] |WARNING| pw43008 [v2, 3/6] net/mlx5: add fate actions to switch flow rules
[not found] <20180713092910.26276-4-adrien.mazarguil@6wind.com>
@ 2018-07-13 9:42 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-07-13 9:42 UTC (permalink / raw)
To: test-report; +Cc: Adrien Mazarguil
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
^ permalink raw reply [flat|nested] only message in thread