From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 83848A04FD
	for <public@inbox.dpdk.org>; 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 <test-report@dpdk.org>; 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?= <mb@smartsharesystems.com>
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 <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=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