automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Subject: [dpdk-test-report] |WARNING| pw28167 [PATCH 02/26] net/octeontx/base: add octeontx io operations
Date: Thu, 31 Aug 2017 16:56:23 +0200 (CEST)	[thread overview]
Message-ID: <20170831145623.BE1059113@dpdk.org> (raw)
In-Reply-To: <20170831145436.5397-3-jerin.jacob@caviumnetworks.com>

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

_coding style issues_


WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by:
#19: 
Co-authored-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>

ERROR:SPACING: spaces required around that ':' (ctx:ExV)
#86: FILE: drivers/net/octeontx/base/octeontx_io.h:56:
+			:[x0]"=r"(val0), [x1]"=r"(val1) \
 			^

ERROR:SPACING: spaces required around that ':' (ctx:ExV)
#87: FILE: drivers/net/octeontx/base/octeontx_io.h:57:
+			:[p1]"r"(addr)			\
 			^

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#99: FILE: drivers/net/octeontx/base/octeontx_io.h:69:
+#define octeontx_load_pair(val0, val1, addr)		\
+do {							\
+	val0 = rte_read64(addr);			\
+	val1 = rte_read64(((uint8_t *)addr) + 8);	\
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#105: FILE: drivers/net/octeontx/base/octeontx_io.h:75:
+#define octeontx_store_pair(val0, val1, addr)		\
+do {							\
+	rte_write64(val0, addr);			\
+	rte_write64(val1, (((uint8_t *)addr) + 8));	\
+} while (0)

total: 2 errors, 1 warnings, 2 checks, 156 lines checked

           reply	other threads:[~2017-08-31 14:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20170831145436.5397-3-jerin.jacob@caviumnetworks.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=20170831145623.BE1059113@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=jerin.jacob@caviumnetworks.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).