|WARNING| pw136018 [PATCH 01/12] eal: introduce more macro for bit definition
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Jan 22 05:02:22 CET 2024
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
More information about the test-report
mailing list