automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw96030 [PATCH v3 06/15] net/mlx5: remove PCI dependency
       [not found] <20210719025410.15483-7-xuemingl@nvidia.com>
@ 2021-07-19  2:56 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-07-19  2:56 UTC (permalink / raw)
  To: test-report; +Cc: Xueming Li

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

_coding style issues_


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

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

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

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

only message in thread, other threads:[~2021-07-19  2:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210719025410.15483-7-xuemingl@nvidia.com>
2021-07-19  2:56 ` [dpdk-test-report] |WARNING| pw96030 [PATCH v3 06/15] net/mlx5: remove PCI dependency 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).