|WARNING| pw154274 [PATCH v6 2/4] dev: export driver information with MSVC

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 10 12:10:54 CEST 2025


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#441: FILE: lib/eal/include/dev_driver.h:36:
+#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
#444: FILE: lib/eal/include/dev_driver.h:39:
+#define RTE_PMD_EXPORT_SYMBOL(type, name) \
+__attribute__((used)) type name

total: 2 errors, 0 warnings, 215 lines checked
Warning in lib/eal/include/dev_driver.h:
Using compiler attribute directly


More information about the test-report mailing list