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 6A70FA0032 for ; Fri, 1 Oct 2021 13:43:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 671E241178; Fri, 1 Oct 2021 13:43:58 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C140C41168 for ; Fri, 1 Oct 2021 13:43:56 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B8856120DFE; Fri, 1 Oct 2021 13:43:56 +0200 (CEST) In-Reply-To: <20211001114230.14107-3-apeksha.gupta@nxp.com> References: <20211001114230.14107-3-apeksha.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Apeksha Gupta Message-Id: <20211001114356.B8856120DFE@dpdk.org> Date: Fri, 1 Oct 2021 13:43:56 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw100242 [PATCH v4 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/100242 _coding style issues_ 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)) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #719: FILE: drivers/net/enetfec/enet_uio.c:244: + if (file_name_match_extract (dir->d_name, "uio")) { WARNING:NAKED_SSCANF: unchecked sscanf return value #724: FILE: drivers/net/enetfec/enet_uio.c:249: + sscanf(dir->d_name + strlen("uio"), "%d", &uio_minor_number); total: 0 errors, 2 warnings, 3 checks, 714 lines checked