|WARNING| pw151091 [PATCH v9 2/2] net/af_xdp: Refactor af_xdp_tx_zc
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Fri Feb  7 11:46:21 CET 2025
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/151091
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 18)
#169: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:589:
 		if (mbuf->pool == umem->mb_pool) {
+		  if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
WARNING:TABSTOP: Statements should start on a tabstop
#171: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+		  if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (18, 32)
#171: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+		  if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
 				kick_tx(txq, cq);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#171: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:590:
+		  if (!(desc = reserve_and_fill(txq, mbuf, umem, NULL))) {
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#197: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:600:
+			if (!(local_mbuf = rte_pktmbuf_alloc(umem->mb_pool)))
total: 2 errors, 3 warnings, 0 checks, 112 lines checked
    
    
More information about the test-report
mailing list