|WARNING| pw150766 [PATCH v7 2/2] net/af_xdp: Refactor af_xdp_tx_zc

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Feb 1 11:02:43 CET 2025


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#159: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:585:
+			if (!(desc = reserve_and_fill(txq, mbuf, umem))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#163: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:587:
+				if (!(desc = reserve_and_fill(txq, mbuf, umem)))

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#184: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:601:
+			if (!(desc = reserve_and_fill(txq, local_mbuf, umem))) {

total: 3 errors, 0 warnings, 0 checks, 97 lines checked


More information about the test-report mailing list