|WARNING| pw115556 [PATCH] eal: zero out new added memory

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Aug 27 11:27:58 CEST 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'doens' may be misspelled - perhaps 'does'?
#66: 
When RTE_MALLOC_DEBUG not configured, rte_zmalloc_socket() doens't

WARNING:TYPO_SPELLING: 'allocaed' may be misspelled - perhaps 'allocated'?
#67: 
zero oute allocaed memory. Because memory are zeroed out when free

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'elem' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'heap' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'msl' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'len' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'elem' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

WARNING:FUNCTION_ARGUMENTS: function definition argument 'len' should also have an identifier name
#106: FILE: lib/librte_eal/common/malloc_heap.c:100:
+	size_t data_len

total: 0 errors, 9 warnings, 19 lines checked


More information about the test-report mailing list