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| pw61441 [PATCH v5 2/3] test/ring: add test cases for configurable element size ring
Date: Thu, 17 Oct 2019 22:09:10 +0200 (CEST)	[thread overview]
Message-ID: <20191017200910.DA4791E9F9@dpdk.org> (raw)
In-Reply-To: <20191017200807.20772-3-honnappa.nagarahalli@arm.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#95: 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'
#98: FILE: app/test/test_ring_perf_elem.c:37:
+	unsigned c1, c2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#101: 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'
#108: FILE: app/test/test_ring_perf_elem.c:47:
+	unsigned id1, id2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#109: 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'
#136: FILE: app/test/test_ring_perf_elem.c:75:
+	unsigned id1, id2;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#137: 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'
#160: FILE: app/test/test_ring_perf_elem.c:99:
+	unsigned id1, id2;

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

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#182: 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'
#183: 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'
#184: FILE: app/test/test_ring_perf_elem.c:123:
+	unsigned i = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#209: 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'
#220: 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'
#221: 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'
#224: 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'
#225: FILE: app/test/test_ring_perf_elem.c:164:
+	unsigned i;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#262: 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'
#263: 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'
#266: 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'
#267: FILE: app/test/test_ring_perf_elem.c:206:
+	unsigned i;

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

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#307: 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'
#335: 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'
#336: 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'
#337: FILE: app/test/test_ring_perf_elem.c:276:
+	unsigned i = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#368: 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'
#369: 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'
#370: FILE: app/test/test_ring_perf_elem.c:309:
+	unsigned sz, i = 0;

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#373: 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'
#408: 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'
#409: 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'
#410: FILE: app/test/test_ring_perf_elem.c:349:
+	unsigned sz, i = 0;

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#413: 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-17 20:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20191017200807.20772-3-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=20191017200910.DA4791E9F9@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).