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 AD5B8A0C4B for ; Mon, 12 Jul 2021 01:31:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A951F40685; Mon, 12 Jul 2021 01:31:32 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 01B954067C for ; Mon, 12 Jul 2021 01:31:31 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id EF648120F1F; Mon, 12 Jul 2021 01:31:30 +0200 (CEST) In-Reply-To: <20210711232958.2191-6-pbhagavatula@marvell.com> References: <20210711232958.2191-6-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20210711233130.EF648120F1F@dpdk.org> Date: Mon, 12 Jul 2021 01:31:30 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95655 [PATCH v8 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/95655 _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