[dpdk-test-report] |WARNING| pw92034 [21.08 PATCH v3 1/1] power: refactor pstate sysfs handling

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 22 17:10:02 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#97: FILE: lib/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, 477 lines checked


More information about the test-report mailing list