|WARNING| pw114585 [PATCH] net/ring: add umonitor callback

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 3 16:25:30 CEST 2022


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

_coding style issues_


ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#90: FILE: drivers/net/ring/rte_eth_ring.c:295:
+eth_get_monitor_addr(void* rx_queue, struct rte_power_monitor_cond *pmc)

CHECK:SPACING: No space is necessary after a cast
#92: FILE: drivers/net/ring/rte_eth_ring.c:297:
+	struct rte_ring *rng = ((struct ring_queue*) rx_queue)->rng;

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#92: FILE: drivers/net/ring/rte_eth_ring.c:297:
+	struct rte_ring *rng = ((struct ring_queue*) rx_queue)->rng;

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#96: FILE: drivers/net/ring/rte_eth_ring.c:301:
+	 * */

total: 2 errors, 1 warnings, 1 checks, 35 lines checked


More information about the test-report mailing list