automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw71063 [RFC] [PATCH v1 2/3] ethdev: add API to convert raw timestamps to nsec
       [not found] <20200609141713.11614-3-patrick.keroulas@radio-canada.ca>
@ 2020-06-10  7:59 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-06-10  7:59 UTC (permalink / raw)
  To: test-report; +Cc: Patrick Keroulas

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-10  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200609141713.11614-3-patrick.keroulas@radio-canada.ca>
2020-06-10  7:59 ` [dpdk-test-report] |WARNING| pw71063 [RFC] [PATCH v1 2/3] ethdev: add API to convert raw timestamps to nsec checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).