* |WARNING| pw136018 [PATCH 01/12] eal: introduce more macro for bit definition
[not found] <20240122035802.31491-2-fengchengwen@huawei.com>
@ 2024-01-22 4:02 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-01-22 4:02 UTC (permalink / raw)
To: test-report; +Cc: Chengwen Feng
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/136018
_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:[~2024-01-22 4:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20240122035802.31491-2-fengchengwen@huawei.com>
2024-01-22 4:02 ` |WARNING| pw136018 [PATCH 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).