From: Randy Dunlap Date: Thu, 29 Apr 2010 17:46:32 +0000 (-0700) Subject: Staging: memrar: fix printk format warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6cbfa62589d71500d8097fd33e8f9958d484b071;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: memrar: fix printk format warning Fix printk format warning in memrar: drivers/staging/memrar/memrar_handler.c:393: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap Cc: Ossama Othman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/memrar/memrar_handler.c b/drivers/staging/memrar/memrar_handler.c index 4bbf66f4223d..3e0dfe365769 100644 --- a/drivers/staging/memrar/memrar_handler.c +++ b/drivers/staging/memrar/memrar_handler.c @@ -390,7 +390,7 @@ static int memrar_init_rar_resources(char const *devname) (unsigned long) low, (unsigned long) high); - pr_info("%s: BRAR[%d] size = %u KiB\n", + pr_info("%s: BRAR[%d] size = %zu KiB\n", devname, z, rar->allocator->capacity / 1024);