automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw29041 [PATCH] librte_eal:add heap lock in malloc_heap_get_stats
       [not found] <8B0A0B0226AB0F47A8D0EBBBBA1F005102BC7F7D@DGGEML502-MBX.china.huawei.com>
@ 2017-09-21  8:24 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-09-21  8:24 UTC (permalink / raw)
  To: test-report; +Cc: liucheng (J)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-21  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8B0A0B0226AB0F47A8D0EBBBBA1F005102BC7F7D@DGGEML502-MBX.china.huawei.com>
2017-09-21  8:24 ` [dpdk-test-report] |WARNING| pw29041 [PATCH] librte_eal:add heap lock in malloc_heap_get_stats checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).