From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Subject: [dpdk-test-report] |WARNING| pw23964 [PATCH 1/2] table: separate out arch specific defines from lru header
Date: Thu, 27 Apr 2017 15:49:20 +0200 (CEST) [thread overview]
Message-ID: <20170427134920.64B9237B2@dpdk.org> (raw)
In-Reply-To: <20170427134728.35392-1-ashwin.sekhar@caviumnetworks.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/23964
_coding style issues_
ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#243: FILE: lib/librte_table/rte_lru_x86.h:67:
+#define lru_init(bucket) \
+do \
+ bucket->lru_list = 0x0000000100020003LLU; \
+while (0)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#271: FILE: lib/librte_table/rte_lru_x86.h:95:
+ unsigned pos = _mm_extract_epi16(d, 1); \
ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#289: FILE: lib/librte_table/rte_lru_x86.h:113:
+#define lru_init(bucket) \
+do \
+ bucket->lru_list = ~0LLU; \
+while (0)
total: 2 errors, 1 warnings, 276 lines checked
parent reply other threads:[~2017-04-27 13:49 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20170427134728.35392-1-ashwin.sekhar@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=20170427134920.64B9237B2@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=ashwin.sekhar@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).