[dpdk-test-report] |WARNING| pw90113 [PATCH v2 1/3] power: refactor base frequency detection

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Mar 30 16:26:37 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#106: 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, 225 lines checked


More information about the test-report mailing list