automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Subject: [dpdk-test-report] |WARNING| pw60616 [PATCH] net/mlx5: fix device scan within switch domain
Date: Mon,  7 Oct 2019 15:56:42 +0200 (CEST)	[thread overview]
Message-ID: <20191007135642.8E37E1C25A@dpdk.org> (raw)
In-Reply-To: <1570456579-5075-1-git-send-email-viacheslavo@mellanox.com>

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'port_id' - possible side-effects?
#119: FILE: drivers/net/mlx5/mlx5.h:688:
+#define MLX5_ETH_FOREACH_DEV(port_id, pci_dev) \
+	for (port_id = mlx5_eth_find_next(0, pci_dev); \
 	     port_id < RTE_MAX_ETHPORTS; \
+	     port_id = mlx5_eth_find_next(port_id + 1, pci_dev))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pci_dev' - possible side-effects?
#119: FILE: drivers/net/mlx5/mlx5.h:688:
+#define MLX5_ETH_FOREACH_DEV(port_id, pci_dev) \
+	for (port_id = mlx5_eth_find_next(0, pci_dev); \
 	     port_id < RTE_MAX_ETHPORTS; \
+	     port_id = mlx5_eth_find_next(port_id + 1, pci_dev))

total: 0 errors, 0 warnings, 2 checks, 94 lines checked

           reply	other threads:[~2019-10-07 13:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1570456579-5075-1-git-send-email-viacheslavo@mellanox.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=20191007135642.8E37E1C25A@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=viacheslavo@mellanox.com \
    /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).