|WARNING| pw138621 [PATCH 42/46] app/test: use rte stdatomic API

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 20 21:58:14 CET 2024


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1067: FILE: app/test/test_lcores.c:29:
+	RTE_ATOMIC(unsigned int) *registered_count;
 	                         ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1847: FILE: app/test/test_service_cores.c:62:
+	RTE_ATOMIC(uint32_t) *lock = (uint32_t __rte_atomic *)&test_params[0];
 	                     ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1867: FILE: app/test/test_service_cores.c:89:
+	RTE_ATOMIC(uint32_t) *lock = (uint32_t __rte_atomic *)&test_params[0];
 	                     ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1887: FILE: app/test/test_service_cores.c:751:
+	RTE_ATOMIC(uint32_t) *lock = (uint32_t __rte_atomic *)&params[1];
 	                     ^

total: 4 errors, 0 warnings, 1887 lines checked
Please use __rte_cache_aligned only for struct or union types alignment.


More information about the test-report mailing list