* [dpdk-test-report] |WARNING| pw23964 [PATCH 1/2] table: separate out arch specific defines from lru header
[not found] <20170427134728.35392-1-ashwin.sekhar@caviumnetworks.com>
@ 2017-04-27 13:49 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-04-27 13:49 UTC (permalink / raw)
To: test-report; +Cc: Ashwin Sekhar T K
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-27 13:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20170427134728.35392-1-ashwin.sekhar@caviumnetworks.com>
2017-04-27 13:49 ` [dpdk-test-report] |WARNING| pw23964 [PATCH 1/2] table: separate out arch specific defines from lru header checkpatch
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).