|WARNING| pw150677 [PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 30 23:19:36 CET 2025


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

_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