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| pw61492 [RFC v6 4/6] test/ring: add perf tests for configurable element size ring
Date: Mon, 21 Oct 2019 02:24:49 +0200 (CEST)	[thread overview]
Message-ID: <20191021002449.BA7481252@dpdk.org> (raw)
In-Reply-To: <20191021002300.26497-5-honnappa.nagarahalli@arm.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#96: FILE: app/test/test_ring_perf_elem.c:34:
+static const volatile unsigned bulk_sizes[] = { 8, 32 };

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#99: FILE: app/test/test_ring_perf_elem.c:37:
+	unsigned c1, c2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#102: FILE: app/test/test_ring_perf_elem.c:40:
+static volatile unsigned lcore_count;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#109: FILE: app/test/test_ring_perf_elem.c:47:
+	unsigned id1, id2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#110: FILE: app/test/test_ring_perf_elem.c:48:
+	unsigned c1, c2, s1, s2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#137: FILE: app/test/test_ring_perf_elem.c:75:
+	unsigned id1, id2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#138: FILE: app/test/test_ring_perf_elem.c:76:
+	unsigned c1, c2, s1, s2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#161: FILE: app/test/test_ring_perf_elem.c:99:
+	unsigned id1, id2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#162: FILE: app/test/test_ring_perf_elem.c:100:
+	unsigned s1, s2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#183: FILE: app/test/test_ring_perf_elem.c:121:
+	const unsigned iter_shift = 26;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#184: FILE: app/test/test_ring_perf_elem.c:122:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#185: FILE: app/test/test_ring_perf_elem.c:123:
+	unsigned i = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#210: FILE: app/test/test_ring_perf_elem.c:148:
+	unsigned size;        /* input value, the burst size */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#221: FILE: app/test/test_ring_perf_elem.c:159:
+	const unsigned iter_shift = 23;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#222: FILE: app/test/test_ring_perf_elem.c:160:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#225: FILE: app/test/test_ring_perf_elem.c:163:
+	const unsigned size = params->size;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#226: FILE: app/test/test_ring_perf_elem.c:164:
+	unsigned i;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#263: FILE: app/test/test_ring_perf_elem.c:201:
+	const unsigned iter_shift = 23;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#264: FILE: app/test/test_ring_perf_elem.c:202:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#267: FILE: app/test/test_ring_perf_elem.c:205:
+	const unsigned size = params->size;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#268: FILE: app/test/test_ring_perf_elem.c:206:
+	unsigned i;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#307: FILE: app/test/test_ring_perf_elem.c:245:
+	unsigned i;

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#308: FILE: app/test/test_ring_perf_elem.c:246:
+	for (i = 0; i < sizeof(bulk_sizes)/sizeof(bulk_sizes[0]); i++) {

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#336: FILE: app/test/test_ring_perf_elem.c:274:
+	const unsigned iter_shift = 24;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#337: FILE: app/test/test_ring_perf_elem.c:275:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#338: FILE: app/test/test_ring_perf_elem.c:276:
+	unsigned i = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#369: FILE: app/test/test_ring_perf_elem.c:307:
+	const unsigned iter_shift = 23;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#370: FILE: app/test/test_ring_perf_elem.c:308:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#371: FILE: app/test/test_ring_perf_elem.c:309:
+	unsigned sz, i = 0;

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#374: FILE: app/test/test_ring_perf_elem.c:312:
+	for (sz = 0; sz < sizeof(bulk_sizes)/sizeof(bulk_sizes[0]); sz++) {

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#409: FILE: app/test/test_ring_perf_elem.c:347:
+	const unsigned iter_shift = 23;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#410: FILE: app/test/test_ring_perf_elem.c:348:
+	const unsigned iterations = 1<<iter_shift;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#411: FILE: app/test/test_ring_perf_elem.c:349:
+	unsigned sz, i = 0;

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#414: FILE: app/test/test_ring_perf_elem.c:352:
+	for (sz = 0; sz < sizeof(bulk_sizes)/sizeof(bulk_sizes[0]); sz++) {

total: 0 errors, 34 warnings, 433 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-5-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=20191021002449.BA7481252@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).