automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Richael Zhuang <richael.zhuang@arm.com>
Subject: [dpdk-test-report] |WARNING| pw90595 [PATCH v1 1/1] test/power: fix several bugs in cpufreq autotest
Date: Tue,  6 Apr 2021 10:31:51 +0200 (CEST)	[thread overview]
Message-ID: <20210406083151.323B4120D42@dpdk.org> (raw)
In-Reply-To: <20210406083006.45702-1-richael.zhuang@arm.com>

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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#218: FILE: app/test/test_power_cpufreq.c:51:
+       sleep(1);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#230: FILE: app/test/test_power_cpufreq.c:74:
+        * Ex: if cur_freq=1396789 then freq_conv=1400000$

ERROR:CODE_INDENT: code indent should use tabs where possible
#231: FILE: app/test/test_power_cpufreq.c:75:
+        * Ex: if cur_freq=800030 then freq_conv=800000$

ERROR:CODE_INDENT: code indent should use tabs where possible
#232: FILE: app/test/test_power_cpufreq.c:76:
+        */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#233: FILE: app/test/test_power_cpufreq.c:77:
+       unsigned int freq_conv = 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#234: FILE: app/test/test_power_cpufreq.c:78:
+       freq_conv = (cur_freq + TEST_FREQ_ROUNDING_DELTA)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#235: FILE: app/test/test_power_cpufreq.c:79:
+                               / TEST_ROUND_FREQ_TO_N_100000;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#235: FILE: app/test/test_power_cpufreq.c:79:
+                               / TEST_ROUND_FREQ_TO_N_100000;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#236: FILE: app/test/test_power_cpufreq.c:80:
+       freq_conv = freq_conv * TEST_ROUND_FREQ_TO_N_100000;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#238: FILE: app/test/test_power_cpufreq.c:82:
+       ret = (freqs[idx] == freq_conv ? 0 : -1);$

total: 4 errors, 6 warnings, 37 lines checked

           reply	other threads:[~2021-04-06  8:31 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20210406083006.45702-1-richael.zhuang@arm.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210406083151.323B4120D42@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=richael.zhuang@arm.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).