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 83848A04FD for ; Wed, 28 Dec 2022 11:28:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E42D40FDF; Wed, 28 Dec 2022 11:28:14 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2919040141 for ; Wed, 28 Dec 2022 11:28:13 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 16C8F122EC0; Wed, 28 Dec 2022 11:28:13 +0100 (CET) Subject: |WARNING| pw121447 [PATCH v3 2/2] net/bnx2x: fix warnings about rte_memcopy lengths In-Reply-To: <20221228102708.93208-2-mb@smartsharesystems.com> References: <20221228102708.93208-2-mb@smartsharesystems.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Morten_Br=C3=B8rup?= Message-Id: <20221228102813.16C8F122EC0@dpdk.org> Date: Wed, 28 Dec 2022 11:28:13 +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/121447 _coding style issues_ WARNING:LEADING_SPACE: please, no spaces at the start of a line #82: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + rte_memcpy((struct mac_stx *)&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]),$ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around estats->rx_stat_ifhcinbadoctets_hi #82: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + rte_memcpy((struct mac_stx *)&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around pstats->mac_stx[1] #82: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + rte_memcpy((struct mac_stx *)&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats.egress_mac_pkt0_lo #91: FILE: drivers/net/bnx2x/bnx2x_stats.c:1495: + (uint32_t *)&(sc->port.old_nig_stats.egress_mac_pkt0_lo), 2); CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats.egress_mac_pkt1_lo #94: FILE: drivers/net/bnx2x/bnx2x_stats.c:1497: + (uint32_t *)&(sc->port.old_nig_stats.egress_mac_pkt1_lo), 2); total: 0 errors, 1 warnings, 4 checks, 27 lines checked