[dpdk-test-report] |WARNING| pw94804 [PATCH v5 1/2] power: add support for cppc cpufreq

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 25 04:04:00 CEST 2021


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#324: FILE: lib/power/power_cppc_cpufreq.c:210:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#324: FILE: lib/power/power_cppc_cpufreq.c:210:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#325: FILE: lib/power/power_cppc_cpufreq.c:211:
+                                POWER_SYSFILE_SCALING_MAX_FREQ);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#325: FILE: lib/power/power_cppc_cpufreq.c:211:
+                                POWER_SYSFILE_SCALING_MAX_FREQ);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#326: FILE: lib/power/power_cppc_cpufreq.c:212:
+                goto out;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#326: FILE: lib/power/power_cppc_cpufreq.c:212:
+                goto out;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#327: FILE: lib/power/power_cppc_cpufreq.c:213:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#327: FILE: lib/power/power_cppc_cpufreq.c:213:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#332: FILE: lib/power/power_cppc_cpufreq.c:218:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#332: FILE: lib/power/power_cppc_cpufreq.c:218:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#333: FILE: lib/power/power_cppc_cpufreq.c:219:
+                                POWER_SYSFILE_SCALING_MIN_FREQ);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#333: FILE: lib/power/power_cppc_cpufreq.c:219:
+                                POWER_SYSFILE_SCALING_MIN_FREQ);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: lib/power/power_cppc_cpufreq.c:220:
+                goto out;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#334: FILE: lib/power/power_cppc_cpufreq.c:220:
+                goto out;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#335: FILE: lib/power/power_cppc_cpufreq.c:221:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#335: FILE: lib/power/power_cppc_cpufreq.c:221:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#339: FILE: lib/power/power_cppc_cpufreq.c:225:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#339: FILE: lib/power/power_cppc_cpufreq.c:225:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#340: FILE: lib/power/power_cppc_cpufreq.c:226:
+                                POWER_SYSFILE_SCALING_MAX_FREQ);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#340: FILE: lib/power/power_cppc_cpufreq.c:226:
+                                POWER_SYSFILE_SCALING_MAX_FREQ);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#341: FILE: lib/power/power_cppc_cpufreq.c:227:
+                goto out;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#341: FILE: lib/power/power_cppc_cpufreq.c:227:
+                goto out;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#342: FILE: lib/power/power_cppc_cpufreq.c:228:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#342: FILE: lib/power/power_cppc_cpufreq.c:228:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#346: FILE: lib/power/power_cppc_cpufreq.c:232:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#346: FILE: lib/power/power_cppc_cpufreq.c:232:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#347: FILE: lib/power/power_cppc_cpufreq.c:233:
+                                POWER_SYSFILE_SCALING_MIN_FREQ);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#347: FILE: lib/power/power_cppc_cpufreq.c:233:
+                                POWER_SYSFILE_SCALING_MIN_FREQ);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#348: FILE: lib/power/power_cppc_cpufreq.c:234:
+                goto out;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#348: FILE: lib/power/power_cppc_cpufreq.c:234:
+                goto out;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#349: FILE: lib/power/power_cppc_cpufreq.c:235:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#349: FILE: lib/power/power_cppc_cpufreq.c:235:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#401: FILE: lib/power/power_cppc_cpufreq.c:287:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#401: FILE: lib/power/power_cppc_cpufreq.c:287:
+                RTE_LOG(ERR, POWER, "failed to open %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#402: FILE: lib/power/power_cppc_cpufreq.c:288:
+                                POWER_SYSFILE_SETSPEED);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#402: FILE: lib/power/power_cppc_cpufreq.c:288:
+                                POWER_SYSFILE_SETSPEED);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#403: FILE: lib/power/power_cppc_cpufreq.c:289:
+                goto err;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#403: FILE: lib/power/power_cppc_cpufreq.c:289:
+                goto err;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#404: FILE: lib/power/power_cppc_cpufreq.c:290:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#404: FILE: lib/power/power_cppc_cpufreq.c:290:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#408: FILE: lib/power/power_cppc_cpufreq.c:294:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#408: FILE: lib/power/power_cppc_cpufreq.c:294:
+                RTE_LOG(ERR, POWER, "Failed to read %s
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#409: FILE: lib/power/power_cppc_cpufreq.c:295:
+                                POWER_SYSFILE_SETSPEED);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#409: FILE: lib/power/power_cppc_cpufreq.c:295:
+                                POWER_SYSFILE_SETSPEED);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#410: FILE: lib/power/power_cppc_cpufreq.c:296:
+                goto err;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#410: FILE: lib/power/power_cppc_cpufreq.c:296:
+                goto err;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#411: FILE: lib/power/power_cppc_cpufreq.c:297:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#411: FILE: lib/power/power_cppc_cpufreq.c:297:
+        }$

total: 24 errors, 24 warnings, 1006 lines checked


More information about the test-report mailing list