automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31096 [PATCH v2] ring: guarantee ordering of cons/prod loading when doing
       [not found] <1509612210-5499-1-git-send-email-hejianet@gmail.com>
@ 2017-11-02  8:44 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-02  8:44 UTC (permalink / raw)
  To: test-report; +Cc: Jia He

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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#86: FILE: lib/librte_ring/rte_ring.h:111:
+ * It depends on performance test results. */

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#219: FILE: lib/librte_ring/rte_ring_arm64.h:41:
+#define arch_rte_atomic_load(a, b) \
+	*(a); \
+	rte_smp_rmb()

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#268: FILE: lib/librte_ring/rte_ring_generic.h:36:
+#define arch_rte_atomic_load(a, b) *(a)

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#269: FILE: lib/librte_ring/rte_ring_generic.h:37:
+#define arch_rte_atomic_store(a, b, c) \
+do { \
+	*(a) = b; \
+} while(0)

ERROR:SPACING: space required before the open parenthesis '('
#272: FILE: lib/librte_ring/rte_ring_generic.h:40:
+} while(0)

total: 3 errors, 2 warnings, 190 lines checked

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

only message in thread, other threads:[~2017-11-02  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1509612210-5499-1-git-send-email-hejianet@gmail.com>
2017-11-02  8:44 ` [dpdk-test-report] |WARNING| pw31096 [PATCH v2] ring: guarantee ordering of cons/prod loading when doing 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).