|WARNING| pw154323 [PATCH v7 3/5] dev: export driver information with MSVC
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jun 11 11:46:03 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/154323
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#141: FILE: lib/eal/include/dev_driver.h:34:
+#define RTE_PMD_EXPORT_SYMBOL(type, name) \
+__pragma(comment(linker, "/include:" RTE_STR(name))) type name
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#144: FILE: lib/eal/include/dev_driver.h:37:
+#define RTE_PMD_EXPORT_SYMBOL(type, name) \
+__attribute__((used)) type name
total: 2 errors, 0 warnings, 54 lines checked
Warning in lib/eal/include/dev_driver.h:
Using compiler attribute directly
More information about the test-report
mailing list