[dpdk-test-report] |WARNING| pw90459 [21.08 v2] power: refactor pstate sysfs handling

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 2 11:27:59 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#94: FILE: lib/librte_power/power_pstate_cpufreq.c:40:
+#define FOPEN_OR_ERR_GOTO(f, label) do { \
+		if ((f) == NULL) { \
+			RTE_LOG(ERR, POWER, "File not opened
"); \
+			goto label; \
+		} \
+} while (0)

total: 0 errors, 1 warnings, 475 lines checked


More information about the test-report mailing list