|WARNING| pw122025 [PATCH v2 18/21] net/cpfl: add hw statistics

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 13 10:19:25 CET 2023


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

_coding style issues_


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

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

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


More information about the test-report mailing list