|WARNING| pw122519 [PATCH v3 3/4] net/cnxk: restructure for cn10k datapath

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 25 12:33:13 CET 2023


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#396: FILE: drivers/net/cnxk/cn10k_rxtx.h:112:
+#define LMT_OFF(lmt_addr, lmt_num, offset)                                     \
+	(void *)((uintptr_t)(lmt_addr) +                                       \
+		 ((uint64_t)(lmt_num) << ROC_LMT_LINE_SIZE_LOG2) + (offset))

total: 1 errors, 0 warnings, 0 checks, 1417 lines checked


More information about the test-report mailing list