|WARNING| pw132674 [PATCH 18/21] ethdev: use rte optional stdatomic API

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 17 01:11:58 CEST 2023


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#130: 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)
#150: 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"
#178: 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"
#182: 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)
#249: FILE: lib/ethdev/rte_ethdev.c:5794:
+	RTE_ATOMIC(struct rte_eth_rxtx_callback *) *prev_cb;
 	                                           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#267: FILE: lib/ethdev/rte_ethdev.c:5831:
+	RTE_ATOMIC(struct rte_eth_rxtx_callback *) *prev_cb;
 	                                           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#331: 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