* [dpdk-test-report] |WARNING| pw89488 [PATCH v1] lib/mempool: distinguish debug counters from cache and pool
[not found] <20210318110936.5269-1-joyce.kong@arm.com>
@ 2021-03-18 11:11 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-18 11:11 UTC (permalink / raw)
To: test-report; +Cc: Joyce Kong
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
^ permalink raw reply [flat|nested] only message in thread