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 8E27FA0471 for ; Tue, 16 Jul 2019 16:35:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 616F31BD43; Tue, 16 Jul 2019 16:35:32 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 90B891BD43; Tue, 16 Jul 2019 16:35:30 +0200 (CEST) In-Reply-To: <1563287696-10509-2-git-send-email-matan@mellanox.com> References: <1563287696-10509-2-git-send-email-matan@mellanox.com> To: test-report@dpdk.org Cc: Matan Azrad Message-Id: <20190716143530.90B891BD43@dpdk.org> Date: Tue, 16 Jul 2019 16:35:30 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56512 [PATCH 1/4] net/mlx5: accelerate DV flow counter transactions 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/56512 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'typ' - possible side-effects? #1345: FILE: drivers/net/mlx5/mlx5_prm.h:419: +#define MLX5_SET64(typ, p, fld, v) \ + do { \ + assert(__mlx5_bit_sz(typ, fld) == 64); \ + *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = \ + rte_cpu_to_be_64(v); \ + } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'fld' - possible side-effects? #1345: FILE: drivers/net/mlx5/mlx5_prm.h:419: +#define MLX5_SET64(typ, p, fld, v) \ + do { \ + assert(__mlx5_bit_sz(typ, fld) == 64); \ + *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = \ + rte_cpu_to_be_64(v); \ + } while (0) total: 0 errors, 0 warnings, 2 checks, 1345 lines checked