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 E72C2A0471 for ; Tue, 16 Jul 2019 16:35:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74DA01B9F6; Tue, 16 Jul 2019 16:35:35 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id A34721BDE3; Tue, 16 Jul 2019 16:35:32 +0200 (CEST) In-Reply-To: <1563287696-10509-4-git-send-email-matan@mellanox.com> References: <1563287696-10509-4-git-send-email-matan@mellanox.com> To: test-report@dpdk.org Cc: Matan Azrad Message-Id: <20190716143532.A34721BDE3@dpdk.org> Date: Tue, 16 Jul 2019 16:35:32 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56513 [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/56513 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects? #612: FILE: drivers/net/mlx5/mlx5_flow.h:420: +#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? #612: FILE: drivers/net/mlx5/mlx5_flow.h:420: +#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? #614: FILE: drivers/net/mlx5/mlx5_flow.h:422: +#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? #614: FILE: drivers/net/mlx5/mlx5_flow.h:422: +#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, 832 lines checked