|WARNING| pw150592 [PATCH v3 2/2] net/af_xdp: Refactor af_xdp_tx_zc
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jan 29 00:12:49 CET 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/150592
_coding style issues_
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#146: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:570:
+static struct rte_mbuf *
+maybe_create_mbuf(struct pkt_tx_queue *txq, uint32_t *idx_tx,
+ struct xsk_umem_info *umem) {
ERROR:SPACING: space required before the open parenthesis '('
#171: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:595:
+ if(is_mbuf_equal)
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 18)
#240: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:635:
+ if (!local_mbuf)
+ goto out;
WARNING:TABSTOP: Statements should start on a tabstop
#241: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:636:
+ goto out;
total: 2 errors, 2 warnings, 0 checks, 158 lines checked
More information about the test-report
mailing list