* [dpdk-test-report] |WARNING| pw80812 [PATCH v2] eal/rte_malloc: add alloc_size() attribute to allocation functions
[not found] <20201015005524.24659-1-stephen@networkplumber.org>
@ 2020-10-15 0:56 ` checkpatch
2020-10-15 6:58 ` [dpdk-test-report] |WARNING| pw80812 " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-10-15 0:56 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
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
^ permalink raw reply [flat|nested] 2+ messages in thread