automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw50454 [v4] lib/metrics: add unregister api for metrics
       [not found] <1550849955-15101-1-git-send-email-wan.junjie@foxmail.com>
@ 2019-02-22 15:39 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-02-22 15:39 UTC (permalink / raw)
  To: test-report; +Cc: wanjunjie

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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#135: FILE: lib/librte_metrics/rte_metrics.c:136:
+			if (idx == idx_base + cnt_names) {
+				break;
+			}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#141: FILE: lib/librte_metrics/rte_metrics.c:142:
+	if (idx_base == RTE_METRICS_MAX_METRICS) {
+		return -ENOMEM;
+	}

ERROR:SPACING: space prohibited before that close parenthesis ')'
#208: FILE: lib/librte_metrics/rte_metrics.c:233:
+	if (count < 1 )

ERROR:TRAILING_WHITESPACE: trailing whitespace
#271: FILE: lib/librte_metrics/rte_metrics.c:298:
+^I^Ifor (idx_name = 0; idx < stats->cnt_stats && $

total: 2 errors, 2 warnings, 310 lines checked

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

only message in thread, other threads:[~2019-02-22 15:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1550849955-15101-1-git-send-email-wan.junjie@foxmail.com>
2019-02-22 15:39 ` [dpdk-test-report] |WARNING| pw50454 [v4] lib/metrics: add unregister api for metrics 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).