[prev in list] [next in list] [prev in thread] [next in thread]
List: dpdk-test-report
Subject: [dpdk-test-report] |WARNING| pw50095 [RFC, v2] lfring: lock-free ring buffer
From: checkpatch () dpdk ! org
Date: 2019-01-30 16:36:54
Message-ID: 20190130163654.EBB2B1B3B6 () dpdk ! org
[Download RAW message or body]
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/50095
_coding style issues_
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum \
75 chars per line) #33:
some other thread wrote the slot and the thread continues with the next slot.
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using \
'cmpxchg16b', this function's name, in a string #266: FILE: \
lib/librte_lfring/lockfree16.h:99: + ("lock cmpxchg16b %1
setz %0"
ERROR:SPACING: space prohibited after that '&' (ctx:WxW)
#928: FILE: lib/librte_lfring/rte_lfring.h:330:
+ struct rte_lfr_element *slot = &r->ring[tail & mask];
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#932: FILE: lib/librte_lfring/rte_lfring.h:334:
+ if (old.e.lap != (tail - size) >> r->log2) {
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#1029: FILE: lib/librte_lfring/rte_lfring.h:431:
+ actual = RTE_MIN((int64_t)(tail - head), (int64_t)nelems);
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#1039: FILE: lib/librte_lfring/rte_lfring.h:441:
+ *available = tail - (head + actual);
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#1059: FILE: lib/librte_lfring/rte_lfring.h:461:
+ actual = RTE_MIN((int64_t)(tail - head), (int64_t)nelems);
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#1073: FILE: lib/librte_lfring/rte_lfring.h:475:
+ *available = tail - (head + actual);
^
ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#1116: FILE: lib/librte_lfring/rte_lfring.h:518:
+ uint64_t avail = tail - head;
^
total: 7 errors, 2 warnings, 1094 lines checked
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic