* |WARNING| pw155269 [PATCH v4 07/22] tailq: fix lookup macro
[not found] <20250716130212.1736407-8-david.marchand@redhat.com>
@ 2025-07-16 13:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-07-16 13:03 UTC (permalink / raw)
To: test-report; +Cc: David Marchand
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-16 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250716130212.1736407-8-david.marchand@redhat.com>
2025-07-16 13:03 ` |WARNING| pw155269 [PATCH v4 07/22] tailq: fix lookup macro checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).