|WARNING| pw137744 [PATCH v2 54/71] net/bnx2x: replace use of fixed size rte_memcpy
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Mar 1 18:26:38 CET 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/137744
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#182: 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
#186: 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
#186: 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]
#186: 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
#187: FILE: drivers/net/bnx2x/bnx2x_stats.c:823:
+ sizeof(struct mac_stx));$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#187: FILE: drivers/net/bnx2x/bnx2x_stats.c:823:
+ sizeof(struct mac_stx));$
total: 1 errors, 3 warnings, 2 checks, 125 lines checked
More information about the test-report
mailing list