|WARNING| pw155682 [PATCH v9 09/13] ethdev: add port mirroring feature
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Aug 6 23:42:05 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155682
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#141: FILE: app/test/test_ethdev_mirror.c:6:
+#include <stdio.h>
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#498: 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"
#499: 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)
#785: FILE: lib/ethdev/rte_ethdev_core.h:111:
+ RTE_ATOMIC(struct rte_eth_mirror *) *rx_mirror;
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#794: 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'?
#813: FILE: lib/ethdev/rte_mirror.c:9:
+#include <stdio.h>
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#925: FILE: lib/ethdev/rte_mirror.c:121:
+ethdev_insert_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1079: FILE: lib/ethdev/rte_mirror.c:275:
+ethdev_find_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1096: FILE: lib/ethdev/rte_mirror.c:292:
+ethdev_delete_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1240: FILE: lib/ethdev/rte_mirror.c:436:
+ethdev_mirror_stats_get(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1279: FILE: lib/ethdev/rte_mirror.c:475:
+ethdev_mirror_stats_reset(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
WARNING:TYPO_SPELLING: 'mirro' may be misspelled - perhaps 'mirror'?
#1432: 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, 1259 lines checked
More information about the test-report
mailing list