|WARNING| pw130479 [PATCH v5 2/6] eal: adapt EAL to present rte optional atomics API

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 17 23:43:50 CEST 2023


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#933: FILE: lib/eal/include/rte_mcslock.h:52:
+rte_mcslock_lock(RTE_ATOMIC(rte_mcslock_t *) *msl, rte_mcslock_t *me)
                                              ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#982: FILE: lib/eal/include/rte_mcslock.h:104:
+rte_mcslock_unlock(RTE_ATOMIC(rte_mcslock_t *) *msl, RTE_ATOMIC(rte_mcslock_t *) me)
                                                ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1009: FILE: lib/eal/include/rte_mcslock.h:124:
+		RTE_ATOMIC(uintptr_t) *next;
 		                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1027: FILE: lib/eal/include/rte_mcslock.h:145:
+rte_mcslock_trylock(RTE_ATOMIC(rte_mcslock_t *) *msl, rte_mcslock_t *me)
                                                 ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1605: FILE: lib/eal/x86/include/rte_spinlock.h:81:
+rte_try_tm(volatile RTE_ATOMIC(int) *lock)
                                     ^

total: 5 errors, 0 warnings, 1344 lines checked


More information about the test-report mailing list