[dpdk-test-report] |WARNING| pw77474 [PATCH 06/15] app/test: replace uses of master/slave

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 11 21:08:54 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#64: 
Subject: [dpdk-dev] [PATCH 06/15] app/test: replace uses of master/slave

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#64: 
Subject: [dpdk-dev] [PATCH 06/15] app/test: replace uses of master/slave

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#79: 
Replace master lcore with main lcore and slave lcore with worker lcore.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#79: 
Replace master lcore with main lcore and slave lcore with worker lcore.

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

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

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

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

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

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#2074: FILE: app/test/test_timer_racecond.c:59:
+static unsigned main_lcore;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#2084: FILE: app/test/test_timer_racecond.c:93:
+	ret = rte_timer_reset(tim, ticks, PERIODICAL, main_lcore, timer_cb, NULL);

total: 1 errors, 10 warnings, 1763 lines checked


More information about the test-report mailing list