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 870EFA0C4B for ; Wed, 14 Jul 2021 11:04:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8213040F35; Wed, 14 Jul 2021 11:04:34 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9B8B540140 for ; Wed, 14 Jul 2021 11:04:32 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9761A120F1F; Wed, 14 Jul 2021 11:04:32 +0200 (CEST) In-Reply-To: <20210714090209.2744-6-pbhagavatula@marvell.com> References: <20210714090209.2744-6-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20210714090432.9761A120F1F@dpdk.org> Date: Wed, 14 Jul 2021 11:04:32 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95835 [PATCH v9 6/7] event/cnxk: add Rx event vector fastpath 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/95835 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b' - possible side-effects? #190: FILE: drivers/net/cnxk/cn10k_rx.h:32: +#define CQE_PTR_OFF(b, i, o, f) \ + (((f) & NIX_RX_VWQE_F) ? \ + (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \ + (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o))) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects? #190: FILE: drivers/net/cnxk/cn10k_rx.h:32: +#define CQE_PTR_OFF(b, i, o, f) \ + (((f) & NIX_RX_VWQE_F) ? \ + (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \ + (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o))) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'o' - possible side-effects? #190: FILE: drivers/net/cnxk/cn10k_rx.h:32: +#define CQE_PTR_OFF(b, i, o, f) \ + (((f) & NIX_RX_VWQE_F) ? \ + (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \ + (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o))) total: 0 errors, 0 warnings, 3 checks, 402 lines checked