[dpdk-test-report] |WARNING| pw29041 [PATCH] librte_eal:add heap lock in malloc_heap_get_stats

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 21 10:24:08 CEST 2017


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#13: 
There is no lock in function malloc_heap_get_stats. When we call this function, the elem may free by other thread.

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#38: FILE: lib/librte_eal/common/malloc_heap.c:191:
+       rte_spinlock_lock(&heap->lock);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#46: FILE: lib/librte_eal/common/malloc_heap.c:204:
+       rte_spinlock_unlock(&heap->lock);$

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 1 errors, 3 warnings, 21 lines checked


More information about the test-report mailing list