automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw90594 [PATCH v1 1/1] test/power: fix several bugs in cpufreq autotest
       [not found] <20210406074510.49589-1-richael.zhuang@arm.com>
@ 2021-04-06  7:46 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-04-06  7:46 UTC (permalink / raw)
  To: test-report; +Cc: Richael Zhuang

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

_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

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

only message in thread, other threads:[~2021-04-06  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210406074510.49589-1-richael.zhuang@arm.com>
2021-04-06  7:46 ` [dpdk-test-report] |WARNING| pw90594 [PATCH v1 1/1] test/power: fix several bugs in cpufreq autotest 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).