automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw137628 [PATCH 54/71] net/bnx2x: replace use of fixed size rte_memcpy
       [not found] <20240229225936.483472-55-stephen@networkplumber.org>
@ 2024-02-29 23:09 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-02-29 23:09 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-29 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240229225936.483472-55-stephen@networkplumber.org>
2024-02-29 23:09 ` |WARNING| pw137628 [PATCH 54/71] net/bnx2x: replace use of fixed size rte_memcpy checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).