[dpdk-test-report] |WARNING| pw89488 [PATCH v1] lib/mempool: distinguish debug counters from cache and pool

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 18 12:11:06 CET 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'caculate' may be misspelled - perhaps 'calculate'?
#52: 
subsequently from/to the common pool. Now the debug stats caculate

WARNING:TYPO_SPELLING: 'retrived' may be misspelled - perhaps 'retrieved'?
#53: 
the objects retrived/put from/to cache and pool together, it is

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#112: FILE: lib/librte_mempool/rte_mempool.h:70:
+^Iuint64_t put_objs;         ^I /**< Number of objects successfully put. */$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#117: FILE: lib/librte_mempool/rte_mempool.h:75:
+^Iuint64_t get_success_objs; ^I /**< Objects successfully allocated. */$

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#134: FILE: lib/librte_mempool/rte_mempool.h:280:
+		unsigned __lcore_id = rte_lcore_id();		\

ERROR:SPACING: space required before the open parenthesis '('
#141: FILE: lib/librte_mempool/rte_mempool.h:285:
+	} while(0)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#143: FILE: lib/librte_mempool/rte_mempool.h:287:
+		unsigned __lcore_id = rte_lcore_id();		\

ERROR:SPACING: space required before the open parenthesis '('
#146: FILE: lib/librte_mempool/rte_mempool.h:290:
+	} while(0)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#148: FILE: lib/librte_mempool/rte_mempool.h:292:
+		unsigned __lcore_id = rte_lcore_id();		\

ERROR:SPACING: space required before the open parenthesis '('
#165: FILE: lib/librte_mempool/rte_mempool.h:305:
+#define __MEMPOOL_OBJS_STAT_ADD(mp, name1, name2, n) do {} while(0)

WARNING:TYPO_SPELLING: 'nmae' may be misspelled - perhaps 'name'?
#166: FILE: lib/librte_mempool/rte_mempool.h:306:
+#define __MEMPOOL_OBJS_STAT_SUB(mp, name1, nmae2, n) do {} while(0)

ERROR:SPACING: space required before the open parenthesis '('
#166: FILE: lib/librte_mempool/rte_mempool.h:306:
+#define __MEMPOOL_OBJS_STAT_SUB(mp, name1, nmae2, n) do {} while(0)

total: 4 errors, 8 warnings, 141 lines checked


More information about the test-report mailing list