automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gavin Hu <gavin.hu@arm.com>
Subject: [dpdk-test-report] |WARNING| pw68160 [PATCH RFC v2 1/7] eal: introduce new class of barriers for DMA use cases
Date: Fri, 10 Apr 2020 18:42:46 +0200 (CEST)	[thread overview]
Message-ID: <20200410164246.64B521D5E2@dpdk.org> (raw)
In-Reply-To: <20200410164127.54229-2-gavin.hu@arm.com>

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#116: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:40:
+#define rte_dma_mb() asm volatile("dmb osh" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#118: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:42:
+#define rte_dma_wmb() asm volatile("dmb oshst" : : : "memory")

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: lib/librte_eal/arm/include/rte_atomic_64.h:44:
+#define rte_dma_rmb() asm volatile("dmb oshld" : : : "memory")

ERROR:C99_COMMENTS: do not use C99 // comments
#135: FILE: lib/librte_eal/include/generic/rte_atomic.h:112:
+///@{

ERROR:C99_COMMENTS: do not use C99 // comments
#162: FILE: lib/librte_eal/include/generic/rte_atomic.h:139:
+///@}

total: 5 errors, 0 warnings, 85 lines checked

           reply	other threads:[~2020-04-10 16:42 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20200410164127.54229-2-gavin.hu@arm.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200410164246.64B521D5E2@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=gavin.hu@arm.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).