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 44830A0547 for ; Tue, 19 Oct 2021 20:43:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CACF40683; Tue, 19 Oct 2021 20:43:21 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2BE4F40142 for ; Tue, 19 Oct 2021 20:43:20 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 116FE121D26; Tue, 19 Oct 2021 20:43:20 +0200 (CEST) In-Reply-To: <20211019184003.23128-3-apeksha.gupta@nxp.com> References: <20211019184003.23128-3-apeksha.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Apeksha Gupta Message-Id: <20211019184320.116FE121D26@dpdk.org> Date: Tue, 19 Oct 2021 20:43:20 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw102300 [PATCH v5 2/5] net/enetfec: add UIO support 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/102300 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects? #405: FILE: drivers/net/enetfec/enet_regs.h:41: +#define ENETFEC_RD_START(X) (((X) == 1) ? ENETFEC_RD_START_1 : \ + (((X) == 2) ? \ + ENETFEC_RD_START_2 : ENETFEC_RD_START_0)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects? #408: FILE: drivers/net/enetfec/enet_regs.h:44: +#define ENETFEC_TD_START(X) (((X) == 1) ? ENETFEC_TD_START_1 : \ + (((X) == 2) ? \ + ENETFEC_TD_START_2 : ENETFEC_TD_START_0)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects? #411: FILE: drivers/net/enetfec/enet_regs.h:47: +#define ENETFEC_MRB_SIZE(X) (((X) == 1) ? ENETFEC_MRB_SIZE_1 : \ + (((X) == 2) ? \ + ENETFEC_MRB_SIZE_2 : ENETFEC_MRB_SIZE_0)) total: 0 errors, 0 warnings, 3 checks, 719 lines checked