automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31258 [PATCH 1/3] eal/arm64: remove the braces {} for dmb() dsb()
       [not found] <1510121832-16439-1-git-send-email-hejianet@gmail.com>
@ 2017-11-08  6:19 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-08  6:19 UTC (permalink / raw)
  To: test-report; +Cc: Jia He

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

_coding style issues_


ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#42: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:46:
+#define dsb(opt) asm volatile("dsb " #opt : : : "memory");

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#42: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:46:
+#define dsb(opt) asm volatile("dsb " #opt : : : "memory");

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#43: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:47:
+#define dmb(opt) asm volatile("dmb " #opt : : : "memory");

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#43: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:47:
+#define dmb(opt) asm volatile("dmb " #opt : : : "memory");

total: 2 errors, 2 warnings, 10 lines checked

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

only message in thread, other threads:[~2017-11-08  6:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1510121832-16439-1-git-send-email-hejianet@gmail.com>
2017-11-08  6:19 ` [dpdk-test-report] |WARNING| pw31258 [PATCH 1/3] eal/arm64: remove the braces {} for dmb() dsb() 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).