|WARNING| pw113524 [RFC PATCH 11/11] bus: hide bus object

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 28 16:50:08 CEST 2022


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#599: FILE: lib/eal/include/bus_driver.h:274:
+#define RTE_REGISTER_BUS(nm, bus) \
+RTE_INIT_PRIO(businitfn_ ##nm, BUS) \
+{\
+	(bus).name = RTE_STR(nm);\
+	rte_bus_register(&bus); \
+}

total: 1 errors, 0 warnings, 761 lines checked


More information about the test-report mailing list