|WARNING| pw104479 [PATCH v4 1/1] app/testpmd: add GPU memory option for mbuf pools

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 17 14:39:33 CET 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'differents' may be misspelled - perhaps 'different'?
#202: FILE: app/test-pmd/cmdline.c:3685:
+	 * Then, check that all values in the list are differents.

WARNING:TYPO_SPELLING: 'optionaly' may be misspelled - perhaps 'optionally'?
#232: FILE: app/test-pmd/config.c:2969:
+ * Displays the RSS hash functions of a port, and, optionaly, the RSS hash

WARNING:TYPO_SPELLING: 'addressses' may be misspelled - perhaps 'addresses'?
#241: FILE: app/test-pmd/config.c:5258:
+		/* No need to recompact the set of multicast addressses. */

WARNING:TYPO_SPELLING: 'Unkwown' may be misspelled - perhaps 'Unknown'?
#254: FILE: app/test-pmd/icmpecho.c:56:
+	return "Unkwown ARP op";

ERROR:TRAILING_WHITESPACE: trailing whitespace
#304: FILE: app/test-pmd/parameters.c:1554:
+^I^I^ITESTPMD_LOG(ERR, $

ERROR:GLOBAL_INITIALISERS: do not initialise globals to 0
#336: FILE: app/test-pmd/testpmd.c:560:
+int gpu_id = 0;

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#404: FILE: app/test-pmd/testpmd.c:1183:
+		rte_exit(EXIT_FAILURE, "Unable to register addr 0x%p, ret %d
", gpu_mem.buf_ptr, ret);

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#448: FILE: app/test-pmd/testpmd.c:1812:
 			for (j = 0; j < mbuf_data_size_n; j++)
+			{

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#471: FILE: app/test-pmd/testpmd.c:1831:
 		for (i = 0; i < mbuf_data_size_n; i++)
+		{

WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#516: FILE: app/test-pmd/testpmd.c:3575:
+								(uint8_t *)mempools_ext_ptr[i], ret, rte_errno);

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#521: FILE: app/test-pmd/testpmd.c:3580:
+						if (ret != 0)

WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#527: FILE: app/test-pmd/testpmd.c:3586:
+								(void *)mempools_ext_ptr[i], RTE_BAD_IOVA,

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#530: FILE: app/test-pmd/testpmd.c:3589:
+						if (ret)

WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#533: FILE: app/test-pmd/testpmd.c:3592:
+									(uint8_t *)mempools_ext_ptr[i], ret, rte_errno);

total: 4 errors, 10 warnings, 411 lines checked


More information about the test-report mailing list