|WARNING| pw151652 [RFC v7 1/4] eventdev: atomic common for test-eventdev app

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 19 14:45:52 CET 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#309: FILE: app/test-eventdev/test_atomic_common.h:4:
+#include <stdio.h>

WARNING:BRACES: braces {} are not necessary for single statement blocks
#370: FILE: app/test-eventdev/test_atomic_common.h:65:
+	if (atomic_locks == NULL) {
+		evt_err("Unable to allocate memory for spinlocks.");
+	}

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

total: 0 errors, 3 warnings, 241 lines checked


More information about the test-report mailing list