|WARNING| pw115861 [PATCH v5 21/27] bus: hide bus object

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 5 10:43:08 CEST 2022


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#835: FILE: lib/eal/include/bus_driver.h:275:
+#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, 916 lines checked


More information about the test-report mailing list