automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw116757 [PATCH 22/27] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions
       [not found] <20220923144334.27736-23-suanmingm@nvidia.com>
@ 2022-09-23 14:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-23 14:48 UTC (permalink / raw)
  To: test-report; +Cc: Suanming Mou

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#403: FILE: drivers/net/mlx5/mlx5_flow_hw.c:2947:
+#define X_FIELD(ptr, t, f) ((t *)((ptr)->conf))->f

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 't' may be better as '(t)' to avoid precedence issues
#403: FILE: drivers/net/mlx5/mlx5_flow_hw.c:2947:
+#define X_FIELD(ptr, t, f) ((t *)((ptr)->conf))->f

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'f' may be better as '(f)' to avoid precedence issues
#403: FILE: drivers/net/mlx5/mlx5_flow_hw.c:2947:
+#define X_FIELD(ptr, t, f) ((t *)((ptr)->conf))->f

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#624: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3447:
+	for (i = 0; ra[i].type != RTE_FLOW_ACTION_TYPE_END; ++i) {
+			switch (ra[i].type) {

total: 1 errors, 1 warnings, 2 checks, 507 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-23 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220923144334.27736-23-suanmingm@nvidia.com>
2022-09-23 14:48 ` |WARNING| pw116757 [PATCH 22/27] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).