|WARNING| pw133337 [PATCH v3 16/19] ethdev: use rte optional stdatomic API
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Oct 26 02:36:19 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/133337
_coding style issues_
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#132: FILE: lib/ethdev/ethdev_driver.h:1658:
+ RTE_ATOMIC(uint64_t) *dev_link = (uint64_t __rte_atomic *)&(dev->data->dev_link);
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#152: FILE: lib/ethdev/ethdev_driver.h:1685:
+ RTE_ATOMIC(uint64_t) *src = (uint64_t __rte_atomic *)&(dev->data->dev_link);
^
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#180: FILE: lib/ethdev/ethdev_private.c:281:
+ fpo->rxq.clbk = (void * __rte_atomic *)(uintptr_t)dev->post_rx_burst_cbs;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#184: FILE: lib/ethdev/ethdev_private.c:284:
+ fpo->txq.clbk = (void * __rte_atomic *)(uintptr_t)dev->pre_tx_burst_cbs;
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#251: FILE: lib/ethdev/rte_ethdev.c:5794:
+ RTE_ATOMIC(struct rte_eth_rxtx_callback *) *prev_cb;
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#269: FILE: lib/ethdev/rte_ethdev.c:5831:
+ RTE_ATOMIC(struct rte_eth_rxtx_callback *) *prev_cb;
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#333: FILE: lib/ethdev/rte_ethdev_core.h:74:
+ RTE_ATOMIC(void *) *clbk;
^
total: 7 errors, 0 warnings, 199 lines checked
More information about the test-report
mailing list