automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Suanming Mou <suanmingm@nvidia.com>
Subject: |WARNING| pw117215 [PATCH v3 05/17] net/mlx5: add HW steering port action
Date: Fri, 30 Sep 2022 14:57:28 +0200 (CEST)	[thread overview]
Message-ID: <20220930125728.A291012231E@dpdk.org> (raw)
In-Reply-To: <20220930125315.5079-6-suanmingm@nvidia.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#127: 
only on the port designated as master. Attaching and detaching of ports

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#398: FILE: drivers/net/mlx5/mlx5_flow.c:1492:
+	if (priv->master || priv->representor) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#511: FILE: drivers/net/mlx5/mlx5_flow.c:11128:
+	if (!priv->master && !priv->representor)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#516: FILE: drivers/net/mlx5/mlx5_flow.c:11133:
+					  " for port which is not a master"

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#518: FILE: drivers/net/mlx5/mlx5_flow.c:11135:
+	if (priv->master) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#526: FILE: drivers/net/mlx5/mlx5_flow.c:11143:
+		if (port_priv->master &&

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'item->mask == &nic_mask'
#866: FILE: drivers/net/mlx5/mlx5_flow_dv.c:9207:
+	if ((item->mask == &nic_mask) &&
+	    ((!attr->group && !(attr->transfer && priv->fdb_def_rule) &&
+	    !priv->sh->tunnel_header_0_1) ||
+	    ((attr->group || (attr->transfer && priv->fdb_def_rule)) &&
+	    !priv->sh->misc5_cap)))

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#991: FILE: drivers/net/mlx5/mlx5_flow_hw.c:855:
+	if (!priv->master)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1973: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3493:
+	bool is_proxy = !!(priv->sh->config.dv_esw_en && priv->master);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2453: FILE: drivers/net/mlx5/mlx5_flow_hw.c:4199:
+	MLX5_ASSERT(priv->master);

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

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2637: FILE: drivers/net/mlx5/mlx5_trigger.c:1306:
+		if ((priv->representor || priv->master) &&

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#2646: FILE: drivers/net/mlx5/mlx5_trigger.c:1315:
+	if ((priv->master || priv->representor) && priv->sh->config.dv_esw_en) {

total: 0 errors, 12 warnings, 1 checks, 2422 lines checked

           reply	other threads:[~2022-09-30 12:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220930125315.5079-6-suanmingm@nvidia.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220930125728.A291012231E@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=suanmingm@nvidia.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).