[dpdk-test-report] |WARNING| pw80812 [PATCH v2] eal/rte_malloc: add alloc_size() attribute to allocation functions
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Oct 15 02:56:39 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/80812
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#153: 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'
#163: 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'
#173: 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'
#203: 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'
#213: 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'
#223: 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, 107 lines checked
Warning in lib/librte_eal/include/rte_common.h:
Using compiler attribute directly
More information about the test-report
mailing list