|WARNING| pw155753 [PATCH v11 09/14] ethdev: add port mirroring feature
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Aug 8 18:59:21 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155753
_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)
#928: FILE: lib/ethdev/rte_mirror.c:124:
+ethdev_insert_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1076: FILE: lib/ethdev/rte_mirror.c:272:
+ethdev_find_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1093: FILE: lib/ethdev/rte_mirror.c:289:
+ethdev_delete_mirror(RTE_ATOMIC(struct rte_eth_mirror *) *top, uint16_t target_id)
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1247: FILE: lib/ethdev/rte_mirror.c:443:
+ethdev_mirror_stats_get(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id,
^
ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1286: FILE: lib/ethdev/rte_mirror.c:482:
+ethdev_mirror_stats_reset(RTE_ATOMIC(struct rte_eth_mirror *) *head, uint16_t target_id)
^
total: 9 errors, 2 warnings, 1266 lines checked
More information about the test-report
mailing list