|WARNING| pw154026 [PATCH v5 1/4] eal: add macro to embed information in binaries

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 4 15:50:48 CEST 2025


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#96: FILE: lib/eal/include/rte_common.h:235:
+#define RTE_INCLUDE(type, name) __pragma(comment(linker, "/include:" RTE_STR(name))) type name

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#98: FILE: lib/eal/include/rte_common.h:237:
+#define RTE_INCLUDE(type, name) __attribute__((used)) type name

total: 2 errors, 0 warnings, 20 lines checked


More information about the test-report mailing list