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

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects?
#510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3024:
+#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
#510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3024:
+#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
#510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3024:
+#define X_FIELD(ptr, t, f) (((ptr)->conf) && ((t *)((ptr)->conf))->f)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#861: FILE: drivers/net/mlx5/mlx5_flow_hw.c:5159:
+	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-09-28  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220928033130.9106-12-suanmingm@nvidia.com>
2022-09-28  3:35 ` |WARNING| pw117008 [PATCH v2 11/17] 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).