|WARNING| pw155269 [PATCH v4 07/22] tailq: fix lookup macro
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jul 16 15:03:32 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155269
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#110: FILE: lib/eal/include/rte_tailq.h:74:
+#define RTE_TAILQ_LOOKUP(name, struct_name) __extension__ ({ \
+ struct rte_tailq_head *head = rte_eal_tailq_lookup(name); \
+ head == NULL ? NULL : RTE_TAILQ_CAST(head, struct_name); \
+})
total: 1 errors, 0 warnings, 16 lines checked
More information about the test-report
mailing list