[dpdk-test-report] |WARNING| pw70909 [RFC v2 20/26] app/test: repalce refernces to master/slave

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 10 09:56:02 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'refernces' may be misspelled - perhaps 'references'?
#64: 
Subject: [dpdk-dev] [RFC v2 20/26] app/test: repalce refernces to

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#359: FILE: app/test/test_distributor_perf.c:57:
+	unsigned i, workerid = rte_get_next_lcore(rte_lcore_id(), 0, 0);

ERROR:SPACING: space required before the open brace '{'
#512: FILE: app/test/test_func_reentrancy.c:60:
+#define WAIT_SYNCHRO_FOR_WORKERS()   do{ \

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#759: FILE: app/test/test_kni.c:88:
+static unsigned lcore_initial, lcore_ingress, lcore_egress;

ERROR:CODE_INDENT: code indent should use tabs where possible
#964: FILE: app/test/test_mbuf.c:1161:
+^I^I          tref, refcnt_lcore[initial]);$

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#1892: FILE: app/test/test_timer.c:265:
+ * on initial lcore */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1901: FILE: app/test/test_timer.c:281:
+	unsigned initial = rte_get_initial_lcore();

WARNING:TYPO_SPELLING: 'inital' may be misspelled - perhaps 'initial'?
#2120: FILE: app/test/test_timer_racecond.c:166:
+		 * Note that we assign timer[0] to the inital lcore.

total: 2 errors, 6 warnings, 1775 lines checked


More information about the test-report mailing list