|WARNING| pw122294 [PATCH v4 18/21] net/cpfl: add hw statistics

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 18 09:57:21 CET 2023


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/122294

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around rxq->rx_stats.mbuf_alloc_failed
#92: FILE: drivers/net/cpfl/cpfl_ethdev.c:190:
+		mbuf_alloc_failed += rte_atomic64_read(&(rxq->rx_stats.mbuf_alloc_failed));

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around rxq->rx_stats.mbuf_alloc_failed
#139: FILE: drivers/net/cpfl/cpfl_ethdev.c:237:
+		rte_atomic64_set(&(rxq->rx_stats.mbuf_alloc_failed), 0);

total: 0 errors, 0 warnings, 2 checks, 120 lines checked
Warning in drivers/net/cpfl/cpfl_ethdev.c:
Using rte_atomicNN_xxx


More information about the test-report mailing list