[dpdk-test-report] |WARNING| pw71063 [RFC] [PATCH v1 2/3] ethdev: add API to convert raw timestamps to nsec

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 10 09:59:14 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'usefull' may be misspelled - perhaps 'useful'?
#80: 
counter in real time unit  which is usefull in a pdump application.

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#205: FILE: lib/librte_pdump/rte_pdump.c:106:
+	unsigned i;

ERROR:SPACING: spaces required around that '=' (ctx:VxV)
#207: FILE: lib/librte_pdump/rte_pdump.c:108:
+	for (i=0; i < nb_pkts; i++) {
 	      ^

WARNING:BRACES: braces {} are not necessary for single statement blocks
#208: FILE: lib/librte_pdump/rte_pdump.c:109:
+		if (pkts[i]->ol_flags & PKT_RX_TIMESTAMP) {
+			rte_eth_convert_ts_to_ns(port_id, &pkts[i]->timestamp);
+		}

total: 1 errors, 3 warnings, 99 lines checked


More information about the test-report mailing list