[dpdk-test-report] |WARNING| pw102287 [PATCH v3 6/6] mempool: deprecate unused defines

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 19 19:42:09 CEST 2021


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#130: FILE: lib/mempool/rte_mempool.h:119:
+#define	MEMPOOL_PG_SHIFT_MAX \
+	RTE_DEPRECATED(MEMPOOL_PG_SHIFT_MAX) (sizeof(uintptr_t) * CHAR_BIT - 1)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#136: FILE: lib/mempool/rte_mempool.h:123:
+#define	MEMPOOL_PG_NUM_DEFAULT	RTE_DEPRECATED(MEMPOOL_PG_NUM_DEFAULT) 1

total: 2 errors, 0 warnings, 48 lines checked


More information about the test-report mailing list