|WARNING| pw121449 [PATCH v4 2/2] net/bnx2x: fix warnings about rte_memcpy lengths
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 28 12:41:48 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121449
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: drivers/net/bnx2x/bnx2x_stats.c:822:
+ rte_memcpy(RTE_PTR_ADD(estats,$
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around pstats->mac_stx[1]
#87: FILE: drivers/net/bnx2x/bnx2x_stats.c:824:
+ &(pstats->mac_stx[1]), sizeof(struct mac_stx));
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats
#96: FILE: drivers/net/bnx2x/bnx2x_stats.c:1496:
+ RTE_PTR_ADD(&(sc->port.old_nig_stats),
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around sc->port.old_nig_stats
#100: FILE: drivers/net/bnx2x/bnx2x_stats.c:1499:
+ RTE_PTR_ADD(&(sc->port.old_nig_stats),
total: 0 errors, 1 warnings, 3 checks, 32 lines checked
More information about the test-report
mailing list