|WARNING| pw121197 [PATCH 2/4] net/cnxk: restructure for cn10k datapath

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 21 10:18:01 CET 2022


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#389: 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