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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Aug 22 23:02:14 CEST 2023


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#934: 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)
#983: 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)
#1010: FILE: lib/eal/include/rte_mcslock.h:124:
+		RTE_ATOMIC(uintptr_t) *next;
 		                      ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#1028: 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)
#1606: 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