|WARNING| pw155651 [PATCH v8 09/13] ethdev: add port mirroring feature
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Aug 4 18:32:16 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155651
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#143: FILE: app/test/test_ethdev_mirror.c:6:
+#include <stdio.h>
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#500: 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"
#501: 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)
#787: FILE: lib/ethdev/rte_ethdev_core.h:111:
+ RTE_ATOMIC(struct rte_eth_mirror *) *rx_mirror;
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#796: FILE: lib/ethdev/rte_ethdev_core.h:131:
+ RTE_ATOMIC(struct rte_eth_mirror *) *tx_mirror;
^
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#815: FILE: lib/ethdev/rte_mirror.c:9:
+#include <stdio.h>
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#929: FILE: lib/ethdev/rte_mirror.c:123:
+ethdev_insert_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1083: FILE: lib/ethdev/rte_mirror.c:277:
+ethdev_find_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1100: FILE: lib/ethdev/rte_mirror.c:294:
+ethdev_delete_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1244: FILE: lib/ethdev/rte_mirror.c:438:
+ethdev_mirror_stats_get(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1283: FILE: lib/ethdev/rte_mirror.c:477:
+ethdev_mirror_stats_reset(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
WARNING:TYPO_SPELLING: 'mirro' may be misspelled - perhaps 'mirror'?
#1436: FILE: lib/ethdev/rte_mirror.h:121:
+ * A pointer to a structure of type *rte_eth_mirro_stats* to be filled.
total: 9 errors, 3 warnings, 1261 lines checked
More information about the test-report
mailing list