|WARNING| pw150438 [RFC PATCH v6 1/2] eventdev: add atomic queue to test-eventdev app

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 24 10:59:59 CET 2025


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#119: 
To verify atomicity, a spinlock is used for each combination of queue and flow.

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#195: FILE: app/test-eventdev/test_atomic_queue.c:1:
+#include <stdio.h>

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#328: FILE: app/test-eventdev/test_atomic_queue.c:134:
+		RTE_ATOMIC(uint64_t) *const outstand_pkts,
 		                     ^

WARNING:BRACES: braces {} are not necessary for single statement blocks
#539: FILE: app/test-eventdev/test_atomic_queue.c:345:
+	for (uint32_t i = 0; i < num_locks; i++) {
+		rte_spinlock_init(&atomic_locks[i]);
+	}

total: 1 errors, 3 warnings, 424 lines checked


More information about the test-report mailing list