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 DEC10A04FD for ; Wed, 28 Dec 2022 12:41:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA10C40FDF; Wed, 28 Dec 2022 12:41:49 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 28A6240141 for ; Wed, 28 Dec 2022 12:41:48 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 10495122EC0; Wed, 28 Dec 2022 12:41:48 +0100 (CET) Subject: |WARNING| pw121449 [PATCH v4 2/2] net/bnx2x: fix warnings about rte_memcpy lengths In-Reply-To: <20221228114043.98739-2-mb@smartsharesystems.com> References: <20221228114043.98739-2-mb@smartsharesystems.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Morten_Br=C3=B8rup?= Message-Id: <20221228114148.10495122EC0@dpdk.org> Date: Wed, 28 Dec 2022 12:41:48 +0100 (CET) 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/121449 _coding style issues_ WARNING:LEADING_SPACE: please, no spaces at the start of a line #85: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + rte_memcpy(RTE_PTR_ADD(estats,$ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around pstats->mac_stx[1] #87: FILE: drivers/net/bnx2x/bnx2x_stats.c:824: + &(pstats->mac_stx[1]), sizeof(struct mac_stx)); CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats #96: FILE: drivers/net/bnx2x/bnx2x_stats.c:1496: + RTE_PTR_ADD(&(sc->port.old_nig_stats), CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats #100: FILE: drivers/net/bnx2x/bnx2x_stats.c:1499: + RTE_PTR_ADD(&(sc->port.old_nig_stats), total: 0 errors, 1 warnings, 3 checks, 32 lines checked