automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw135011 [RFC v3 01/12] eal: introduce more macro for bit definition
       [not found] <20231211095110.18946-2-fengchengwen@huawei.com>
@ 2023-12-11  9:54 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-12-11  9:54 UTC (permalink / raw)
  To: test-report; +Cc: Chengwen Feng

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#123: FILE: lib/eal/include/rte_bitops.h:92:
+#define RTE_FIELD_GET64(mask, reg) \
+		(typeof(mask))(((reg) & (mask)) >> rte_ctz64(mask))

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#134: FILE: lib/eal/include/rte_bitops.h:103:
+#define RTE_FIELD_GET32(mask, reg) \
+		(typeof(mask))(((reg) & (mask)) >> rte_ctz32(mask))

total: 2 errors, 0 warnings, 70 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-11  9:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20231211095110.18946-2-fengchengwen@huawei.com>
2023-12-11  9:54 ` |WARNING| pw135011 [RFC v3 01/12] eal: introduce more macro for bit definition 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).