From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C6BD9A0C52 for ; Tue, 13 Jul 2021 15:17:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15EBF4129B; Tue, 13 Jul 2021 15:17:08 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BB7534129B for ; Tue, 13 Jul 2021 15:17:06 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B7C2D120F1F; Tue, 13 Jul 2021 15:17:06 +0200 (CEST) In-Reply-To: <20210713131437.30170-6-xuemingl@nvidia.com> References: <20210713131437.30170-6-xuemingl@nvidia.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Xueming Li Message-Id: <20210713131706.B7C2D120F1F@dpdk.org> Date: Tue, 13 Jul 2021 15:17:06 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95785 [PATCH v2 05/14] net/mlx5: remove PCI dependency X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/95785 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'port_id' - possible side-effects? #311: FILE: drivers/net/mlx5/mlx5.h:1470: +#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? #311: FILE: drivers/net/mlx5/mlx5.h:1470: +#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