|WARNING| pw132222 [RFC] rte_ether_unformat: accept more inputs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 29 18:37:41 CEST 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'seperated' may be misspelled - perhaps 'separated'?
#163: FILE: lib/net/rte_ether.c:103:
+ * Scan input to see if seperated by dash, colon or period

WARNING:TYPO_SPELLING: 'seperator' may be misspelled - perhaps 'separator'?
#164: FILE: lib/net/rte_ether.c:104:
+ * Returns seperator and number of matches

WARNING:TYPO_SPELLING: 'seperators' may be misspelled - perhaps 'separators'?
#165: FILE: lib/net/rte_ether.c:105:
+ * If seperators are mixed will return

WARNING:TYPO_SPELLING: 'seperators' may be misspelled - perhaps 'separators'?
#169: FILE: lib/net/rte_ether.c:109:
+	const char seperators[] = "-:.";

WARNING:STATIC_CONST_CHAR_ARRAY: const array should probably be static const
#169: FILE: lib/net/rte_ether.c:109:
+	const char seperators[] = "-:.";

WARNING:TYPO_SPELLING: 'seperators' may be misspelled - perhaps 'separators'?
#173: FILE: lib/net/rte_ether.c:113:
+	cp = strpbrk(s, seperators);

WARNING:TYPO_SPELLING: 'seperator' may be misspelled - perhaps 'separator'?
#180: FILE: lib/net/rte_ether.c:120:
+		/* find next instance of seperator */

WARNING:TYPO_SPELLING: 'seperated' may be misspelled - perhaps 'separated'?
#190: FILE: lib/net/rte_ether.c:130:
+ *  - Linux format six groups of hexadecimal digits seperated by colon

WARNING:TYPO_SPELLING: 'seperated' may be misspelled - perhaps 'separated'?
#191: FILE: lib/net/rte_ether.c:131:
+ *  - Windows format six groups seperated by hyphen

total: 0 errors, 9 warnings, 131 lines checked


More information about the test-report mailing list