automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw90489 [PATCH v2 01/13] net/mlx5: support three level table walk
       [not found] <20210402151627.1531623-2-lizh@nvidia.com>
@ 2021-04-02 15:18 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-04-02 15:18 UTC (permalink / raw)
  To: test-report; +Cc: Li Zhang

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tbl' - possible side-effects?
#161: FILE: drivers/net/mlx5/mlx5_utils.h:995:
+#define MLX5_L3T_FOREACH(tbl, idx, entry)				\
+	for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx);		\
+	     (entry);							\
+	     idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects?
#161: FILE: drivers/net/mlx5/mlx5_utils.h:995:
+#define MLX5_L3T_FOREACH(tbl, idx, entry)				\
+	for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx);		\
+	     (entry);							\
+	     idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'entry' - possible side-effects?
#161: FILE: drivers/net/mlx5/mlx5_utils.h:995:
+#define MLX5_L3T_FOREACH(tbl, idx, entry)				\
+	for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx);		\
+	     (entry);							\
+	     idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))

total: 0 errors, 0 warnings, 3 checks, 100 lines checked

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

only message in thread, other threads:[~2021-04-02 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210402151627.1531623-2-lizh@nvidia.com>
2021-04-02 15:18 ` [dpdk-test-report] |WARNING| pw90489 [PATCH v2 01/13] net/mlx5: support three level table walk 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).