|WARNING| pw121810 [PATCH v2 1/6] common/idpf: add hw statistics

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 11 09:14:56 CET 2023


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around rxq->rx_stats.mbuf_alloc_failed
#213: FILE: drivers/net/idpf/idpf_ethdev.c:152:
+		mbuf_alloc_failed += rte_atomic64_read(&(rxq->rx_stats.mbuf_alloc_failed));

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around rxq->rx_stats.mbuf_alloc_failed
#260: FILE: drivers/net/idpf/idpf_ethdev.c:199:
+		rte_atomic64_set(&(rxq->rx_stats.mbuf_alloc_failed), 0);

total: 0 errors, 0 warnings, 2 checks, 195 lines checked
Warning in drivers/net/idpf/idpf_ethdev.c:
Using rte_atomicNN_xxx


More information about the test-report mailing list