From 6cbfa62589d71500d8097fd33e8f9958d484b071 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 29 Apr 2010 10:46:32 -0700 Subject: [PATCH] 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 --- drivers/staging/memrar/memrar_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1