From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 526B4A00E6 for ; Mon, 8 Jul 2019 16:09:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 37E321B994; Mon, 8 Jul 2019 16:09:08 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id E87981B974; Mon, 8 Jul 2019 16:09:05 +0200 (CEST) In-Reply-To: <1562594861-27123-4-git-send-email-matan@mellanox.com> References: <1562594861-27123-4-git-send-email-matan@mellanox.com> To: test-report@dpdk.org Cc: Matan Azrad Message-Id: <20190708140905.E87981B974@dpdk.org> Date: Mon, 8 Jul 2019 16:09:05 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56233 [PATCH 3/4] net/mlx5: accelerate DV flow counter query X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 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/56233 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects? #619: FILE: drivers/net/mlx5/mlx5_flow.h:415: +#define MLX5_CNT_CONTAINER(sh, batch, thread) (&(sh)->cmng.ccont \ + [(((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)]) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'batch' - possible side-effects? #619: FILE: drivers/net/mlx5/mlx5_flow.h:415: +#define MLX5_CNT_CONTAINER(sh, batch, thread) (&(sh)->cmng.ccont \ + [(((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)]) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects? #621: FILE: drivers/net/mlx5/mlx5_flow.h:417: +#define MLX5_CNT_CONTAINER_UNUSED(sh, batch, thread) (&(sh)->cmng.ccont \ + [(~((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)]) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'batch' - possible side-effects? #621: FILE: drivers/net/mlx5/mlx5_flow.h:417: +#define MLX5_CNT_CONTAINER_UNUSED(sh, batch, thread) (&(sh)->cmng.ccont \ + [(~((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)]) total: 0 errors, 0 warnings, 4 checks, 839 lines checked