From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Subject: [dpdk-test-report] |WARNING| pw60732 [PATCH v4 2/2] test/ring: add test cases for configurable element size ring
Date: Wed, 9 Oct 2019 04:47:56 +0200 (CEST) [thread overview]
Message-ID: <20191009024756.3D7D21C1D4@dpdk.org> (raw)
In-Reply-To: <20191009024709.38144-3-honnappa.nagarahalli@arm.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/60732
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#94: 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'
#97: FILE: app/test/test_ring_perf_elem.c:37:
+ unsigned c1, c2;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#100: 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'
#107: FILE: app/test/test_ring_perf_elem.c:47:
+ unsigned id1, id2;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#108: 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'
#135: FILE: app/test/test_ring_perf_elem.c:75:
+ unsigned id1, id2;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#136: 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'
#159: FILE: app/test/test_ring_perf_elem.c:99:
+ unsigned id1, id2;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#160: FILE: app/test/test_ring_perf_elem.c:100:
+ unsigned s1, s2;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#181: 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'
#182: 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'
#183: FILE: app/test/test_ring_perf_elem.c:123:
+ unsigned i = 0;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#208: 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'
#219: 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'
#220: 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'
#223: 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'
#224: FILE: app/test/test_ring_perf_elem.c:164:
+ unsigned i;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#261: 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'
#262: 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'
#265: 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'
#266: FILE: app/test/test_ring_perf_elem.c:206:
+ unsigned i;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#305: FILE: app/test/test_ring_perf_elem.c:245:
+ unsigned i;
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#306: 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'
#334: 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'
#335: 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'
#336: FILE: app/test/test_ring_perf_elem.c:276:
+ unsigned i = 0;
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#367: 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'
#368: 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'
#369: FILE: app/test/test_ring_perf_elem.c:309:
+ unsigned sz, i = 0;
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#372: 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'
#407: 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'
#408: 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'
#409: FILE: app/test/test_ring_perf_elem.c:349:
+ unsigned sz, i = 0;
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(bulk_sizes)
#412: 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
parent reply other threads:[~2019-10-09 2:47 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20191009024709.38144-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=20191009024756.3D7D21C1D4@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).