|WARNING| pw144847 [PATCH v3 10/18] net/cnxk: add cn20k base control path support

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 1 14:47:00 CEST 2024


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#826: FILE: drivers/net/cnxk/cn20k_rxtx.h:86:
+#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, 763 lines checked


More information about the test-report mailing list