[dpdk-test-report] |WARNING| pw42900 [v11, 07/25] eal: introduce device class abstraction

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 11 23:46:22 CEST 2018


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#251: FILE: lib/librte_eal/common/include/rte_class.h:114:
+#define RTE_REGISTER_CLASS(nm, cls) \
+RTE_INIT_PRIO(classinitfn_ ##nm, CLASS) \
+{\
+	(cls).name = RTE_STR(nm); \
+	rte_class_register(&cls); \
+}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#258: FILE: lib/librte_eal/common/include/rte_class.h:121:
+#define RTE_UNREGISTER_CLASS(nm, cls) \
+RTE_FINI_PRIO(classfinifn_ ##nm, CLASS) \
+{ \
+	rte_class_unregister(&cls); \
+}

total: 2 errors, 0 warnings, 244 lines checked


More information about the test-report mailing list