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 C7F0FA00E6 for ; Mon, 8 Jul 2019 16:09:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C005A1B956; Mon, 8 Jul 2019 16:09:03 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 23E6D1B974; Mon, 8 Jul 2019 16:09:02 +0200 (CEST) In-Reply-To: <1562594861-27123-2-git-send-email-matan@mellanox.com> References: <1562594861-27123-2-git-send-email-matan@mellanox.com> To: test-report@dpdk.org Cc: Matan Azrad Message-Id: <20190708140902.23E6D1B974@dpdk.org> Date: Mon, 8 Jul 2019 16:09:02 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56230 [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/56230 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'typ' - possible side-effects? #1331: 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? #1331: 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, 1337 lines checked