[dpdk-test-report] |WARNING| pw76589 [PATCH] eal/rte_malloc: add alloc_size() attribute to allocation functions

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:44:38 CEST 2020


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#144: FILE: lib/librte_eal/include/rte_malloc.h:57:
+rte_malloc(const char *type, size_t size, unsigned align)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#156: FILE: lib/librte_eal/include/rte_malloc.h:84:
+rte_zmalloc(const char *type, size_t size, unsigned align)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#168: FILE: lib/librte_eal/include/rte_malloc.h:111:
+rte_calloc(const char *type, size_t num, size_t size, unsigned align)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#200: FILE: lib/librte_eal/include/rte_malloc.h:189:
+rte_malloc_socket(const char *type, size_t size, unsigned align, int socket)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#210: FILE: lib/librte_eal/include/rte_malloc.h:218:
+rte_zmalloc_socket(const char *type, size_t size, unsigned align, int socket)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#222: FILE: lib/librte_eal/include/rte_malloc.h:247:
+rte_calloc_socket(const char *type, size_t num, size_t size, unsigned align, int socket)

total: 0 errors, 6 warnings, 111 lines checked


More information about the test-report mailing list