mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
0f009ecbdd
commit
fb0fe8617c
@ -133,7 +133,6 @@ CC_C_OPT += -Wno-restrict -Wno-maybe-uninitialized -Werror=date-time
|
||||
CC_C_OPT += -Werror=incompatible-pointer-types -Werror=designated-init
|
||||
CC_C_OPT += -Wno-packed-not-aligned
|
||||
CC_C_OPT += -Wno-discarded-qualifiers
|
||||
CC_C_OPT += -Wno-format
|
||||
|
||||
# avoid link errors whenever the build config's CC_OLEVEL is set to -O0
|
||||
override CC_OLEVEL := -O2
|
||||
|
@ -483,7 +483,7 @@ void *page_frag_alloc_align(struct page_frag_cache *nc,
|
||||
|
||||
/* see page_frag_free */
|
||||
if (order > 0)
|
||||
printk("%s: alloc might leak memory: fragsz: %u PAGE_SIZE: %u "
|
||||
printk("%s: alloc might leak memory: fragsz: %u PAGE_SIZE: %lu "
|
||||
"order: %u page: %p addr: %p\n", __func__, fragsz, PAGE_SIZE, order, page, page->virtual);
|
||||
|
||||
return page->virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user