[dpdk-test-report] |WARNING| pw90432 [PATCH 21.08] power: refactor pstate sysfs handling

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 1 17:07:05 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#93: 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