|WARNING| pw145926 [PATCH v4 1/5] power: refactor core power management library

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 15 04:52:08 CEST 2024


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1531: FILE: lib/power/rte_power_cpufreq_api.h:189:
+#define RTE_POWER_REGISTER_OPS(ops) \
+RTE_INIT(power_hdlr_init_##ops) \
+{ \
+	rte_power_register_ops(&ops); \
+}

total: 1 errors, 0 warnings, 1205 lines checked


More information about the test-report mailing list