automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw50095 [RFC, v2] lfring: lock-free ring buffer
       [not found] <1548866179-20766-1-git-send-email-ola.liljedahl@arm.com>
@ 2019-01-30 16:36 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-01-30 16:36 UTC (permalink / raw)
  To: test-report; +Cc: Ola Liljedahl

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

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

only message in thread, other threads:[~2019-01-30 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1548866179-20766-1-git-send-email-ola.liljedahl@arm.com>
2019-01-30 16:36 ` [dpdk-test-report] |WARNING| pw50095 [RFC, v2] lfring: lock-free ring buffer 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).