|WARNING| pw155234 [PATCH v4 07/13] ethdev: add port mirroring feature

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 15 18:18:07 CEST 2025


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

_coding style issues_


ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#159: FILE: lib/ethdev/ethdev_private.c:292:
+	fpo->rx_mirror = (struct rte_eth_mirror * __rte_atomic *)(uintptr_t)&dev->rx_mirror;

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#160: FILE: lib/ethdev/ethdev_private.c:293:
+	fpo->tx_mirror = (struct rte_eth_mirror * __rte_atomic *)(uintptr_t)&dev->tx_mirror;

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#425: FILE: lib/ethdev/rte_ethdev_core.h:105:
+	RTE_ATOMIC(struct rte_eth_mirror *) *rx_mirror;
 	                                    ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#434: FILE: lib/ethdev/rte_ethdev_core.h:125:
+	RTE_ATOMIC(struct rte_eth_mirror *) *tx_mirror;
 	                                    ^

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#453: FILE: lib/ethdev/rte_mirror.c:9:
+#include <stdio.h>

total: 4 errors, 1 warnings, 727 lines checked


More information about the test-report mailing list