* [dpdk-test-report] |WARNING| pw32449 [PATCH 16/23] eal: enable dynamic memory allocation/free on malloc/free
[not found] <c9a798795633a8e4a4bf32f1a57c25bb5ce099fd.1513680516.git.anatoly.burakov@intel.com>
@ 2017-12-19 11:13 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-19 11:13 UTC (permalink / raw)
To: test-report; +Cc: Anatoly Burakov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32449
_coding style issues_
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#148: FILE: lib/librte_eal/common/malloc_elem.c:427:
+void
+malloc_elem_hide_region(struct malloc_elem *elem, void *start, size_t len) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#288: FILE: lib/librte_eal/common/malloc_heap.c:158:
+ unsigned flags, size_t align, size_t bound)
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#309: FILE: lib/librte_eal/common/malloc_heap.c:176:
+static void *
+try_expand_heap(struct malloc_heap *heap, struct rte_memseg_list *msl,
+ const char *type, size_t size, int socket, unsigned flags,
+ size_t align, size_t bound) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#311: FILE: lib/librte_eal/common/malloc_heap.c:178:
+ const char *type, size_t size, int socket, unsigned flags,
WARNING:BRACES: braces {} are not necessary for single statement blocks
#362: FILE: lib/librte_eal/common/malloc_heap.c:229:
+ for (i = 0; i < n_pages; i++) {
+ eal_memalloc_free_page(ms[i]);
+ }
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#370: FILE: lib/librte_eal/common/malloc_heap.c:237:
+static int
+compare_pagesz(const void *a, const void *b) {
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#383: FILE: lib/librte_eal/common/malloc_heap.c:250:
+static void *
+heap_alloc_on_socket(const char *type, size_t size, int socket,
+ unsigned flags, size_t align, size_t bound) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#385: FILE: lib/librte_eal/common/malloc_heap.c:252:
+ unsigned flags, size_t align, size_t bound) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#392: FILE: lib/librte_eal/common/malloc_heap.c:259:
+ unsigned size_flags = flags & ~RTE_MEMZONE_SIZE_HINT_ONLY;
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#483: FILE: lib/librte_eal/common/malloc_heap.c:350:
+void *
+malloc_heap_alloc(const char *type, size_t size, int socket_arg, unsigned flags,
+ size_t align, size_t bound) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#484: FILE: lib/librte_eal/common/malloc_heap.c:351:
+malloc_heap_alloc(const char *type, size_t size, int socket_arg, unsigned flags,
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#571: FILE: lib/librte_eal/common/malloc_heap.c:435:
+ malloc_elem_hide_region(elem, (void*) aligned_start, aligned_len);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#603: FILE: lib/librte_eal/common/malloc_heap.h:56:
+malloc_heap_alloc(const char *type, size_t size, int socket, unsigned flags,
total: 6 errors, 7 warnings, 559 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-19 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <c9a798795633a8e4a4bf32f1a57c25bb5ce099fd.1513680516.git.anatoly.burakov@intel.com>
2017-12-19 11:13 ` [dpdk-test-report] |WARNING| pw32449 [PATCH 16/23] eal: enable dynamic memory allocation/free on malloc/free checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).