automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw118729 [PATCH v5 11/18] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions
       [not found] <20221020032210.30250-12-suanmingm@nvidia.com>
@ 2022-10-20  3:24 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-10-20  3:24 UTC (permalink / raw)
  To: test-report; +Cc: Suanming Mou

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects?
#509: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3062:
+#define X_FIELD(ptr, t, f) (((ptr)->conf) && ((t *)((ptr)->conf))->f)

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

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

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#860: FILE: drivers/net/mlx5/mlx5_flow_hw.c:5194:
+	if (priv->sh->config.dv_esw_en && priv->master) {

total: 0 errors, 1 warnings, 3 checks, 671 lines checked

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

only message in thread, other threads:[~2022-10-20  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221020032210.30250-12-suanmingm@nvidia.com>
2022-10-20  3:24 ` |WARNING| pw118729 [PATCH v5 11/18] 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).