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 136B8A0C4C for ; Thu, 2 Sep 2021 20:02:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B3C84003E; Thu, 2 Sep 2021 20:02:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 165564003C for ; Thu, 2 Sep 2021 20:02:42 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 0F3D5122E33; Thu, 2 Sep 2021 20:02:42 +0200 (CEST) In-Reply-To: <20210902175955.9202-3-apeksha.gupta@nxp.com> References: <20210902175955.9202-3-apeksha.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Apeksha Gupta Message-Id: <20210902180242.0F3D5122E33@dpdk.org> Date: Thu, 2 Sep 2021 20:02:42 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw97838 [PATCH v2 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/97838 _coding style issues_ WARNING:TYPO_SPELLING: 'feild' may be misspelled - perhaps 'field'? #105: FILE: drivers/net/enetfec/enet_ethdev.c:36: +/* Pause frame feild and FIFO threshold */ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects? #404: 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? #407: 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? #410: 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, 1 warnings, 3 checks, 641 lines checked