automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Subject: [dpdk-test-report] |WARNING| pw61493 [RFC v6 5/6] lib/ring: copy ring elements using memcpy partially
Date: Mon, 21 Oct 2019 02:24:50 +0200 (CEST)	[thread overview]
Message-ID: <20191021002450.E4055FFA@dpdk.org> (raw)
In-Reply-To: <20191021002300.26497-6-honnappa.nagarahalli@arm.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#103: FILE: lib/librte_ring/rte_ring_elem.h:122:
+		for (i = 0; i < (nr_n & ((~(unsigned)0x7))); \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#105: FILE: lib/librte_ring/rte_ring_elem.h:124:
+			memcpy(ring + nr_idx, obj + i, 8 * sizeof (uint32_t)); \

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#232: FILE: lib/librte_ring/rte_ring_elem.h:162:
+		for (i = 0; i < (nr_n & ((~(unsigned)0x7))); \

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#234: FILE: lib/librte_ring/rte_ring_elem.h:164:
+			memcpy(obj + i, ring + nr_idx, 8 * sizeof (uint32_t)); \

total: 0 errors, 4 warnings, 300 lines checked

           reply	other threads:[~2019-10-21  0:24 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20191021002300.26497-6-honnappa.nagarahalli@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=20191021002450.E4055FFA@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=honnappa.nagarahalli@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).