dde_linux: re-enable -Wformat

Fixes #4542
This commit is contained in:
Christian Helmuth 2022-06-15 17:00:25 +02:00
parent 0f009ecbdd
commit fb0fe8617c
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;