|WARNING| pw119490 [PATCH v3 3/3] mempool: use cache for frequently updated stats
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Nov 4 12:18:57 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119490
_coding style issues_
WARNING:TYPO_SPELLING: 'accesing' may be misspelled - perhaps 'accessing'?
#62:
structure, accesing the dedicated statistics structure is avoided in the
WARNING:REPEATED_WORD: Possible repeated word: 'the'
#78:
* Don't update the the description of the RTE_MEMPOOL_STAT_ADD macro.
WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#148: FILE: lib/mempool/rte_mempool.h:345:
+#define RTE_MEMPOOL_CACHE_STAT_ADD(cache, name, n) do { \
+ (cache)->stats.name += n; \
+ } while (0)
total: 0 errors, 3 warnings, 126 lines checked
More information about the test-report
mailing list