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 EC11643BAE for ; Fri, 1 Mar 2024 00:09:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6C57433EE; Fri, 1 Mar 2024 00:09:57 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 7628E42FED for ; Fri, 1 Mar 2024 00:09:57 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 7289912232A; Fri, 1 Mar 2024 00:09:57 +0100 (CET) Subject: |WARNING| pw137628 [PATCH 54/71] net/bnx2x: replace use of fixed size rte_memcpy In-Reply-To: <20240229225936.483472-55-stephen@networkplumber.org> References: <20240229225936.483472-55-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20240229230957.7289912232A@dpdk.org> Date: Fri, 1 Mar 2024 00:09:57 +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/137628 _coding style issues_ WARNING:LEADING_SPACE: please, no spaces at the start of a line #181: FILE: drivers/net/bnx2x/bnx2x_stats.c:820: + memcpy(old, new, sizeof(struct nig_stats));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #185: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]),$ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around estats->rx_stat_ifhcinbadoctets_hi #185: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around pstats->mac_stx[1] #185: FILE: drivers/net/bnx2x/bnx2x_stats.c:822: + memcpy(&(estats->rx_stat_ifhcinbadoctets_hi), &(pstats->mac_stx[1]), ERROR:CODE_INDENT: code indent should use tabs where possible #186: FILE: drivers/net/bnx2x/bnx2x_stats.c:823: + sizeof(struct mac_stx));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #186: FILE: drivers/net/bnx2x/bnx2x_stats.c:823: + sizeof(struct mac_stx));$ total: 1 errors, 3 warnings, 2 checks, 125 lines checked