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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 23 03:54:58 CET 2022


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

_coding style issues_


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

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

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


More information about the test-report mailing list