|WARNING| pw121451 [PATCH v5 2/4] net/bnx2x: fix warnings about rte_memcpy lengths
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 28 16:10:38 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121451
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: drivers/net/bnx2x/bnx2x_stats.c:822:
+ rte_memcpy(RTE_PTR_ADD(estats,$
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around pstats->mac_stx[1]
#88: 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
#97: 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
#101: 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