|WARNING| pw149933 [RFC v4 1/1] eventdev: add atomic queue to test-eventdev app

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 13 13:17:48 CET 2025


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#110: 
Add an atomic queue test based on the order queue test that exclusively uses atomic queues.

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

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

WARNING:BRACES: braces {} are not necessary for single statement blocks
#381: FILE: app/test-eventdev/test_atomic_queue.c:199:
+			if (!flow_id_cap) {
+				ev[i].flow_id = event_data_get_flow(&ev[i]);
+			}

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

total: 1 errors, 4 warnings, 434 lines checked


More information about the test-report mailing list