[dpdk-test-report] |WARNING| pw30433 [PATCH 2/2] power: check if userspace governor is available
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Oct 16 15:48:39 CEST 2017
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/30433
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#41: FILE: lib/librte_power/rte_power_acpi_cpufreq.c:58:
+#define FOPEN_OR_ERR_RET(f, fullpath, retval) do { \
if ((f) == NULL) { \
+ RTE_LOG(ERR, POWER, "File %s not openned
", fullpath); \
return retval; \
} \
} while (0)
total: 0 errors, 1 warnings, 81 lines checked
More information about the test-report
mailing list