public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH -next] memrar: fix printk format warning
@ 2010-04-29 17:46 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2010-04-29 17:46 UTC (permalink / raw)
  To: lkml, linux-next; +Cc: devel, gregkh, Ossama Othman

From: Randy Dunlap <randy.dunlap@oracle•com>

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 <randy.dunlap@oracle•com>
Cc: Ossama Othman <ossama.othman@intel•com>
---
 drivers/staging/memrar/memrar_handler.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100429.orig/drivers/staging/memrar/memrar_handler.c
+++ linux-next-20100429/drivers/staging/memrar/memrar_handler.c
@@ -390,7 +390,7 @@ static int memrar_init_rar_resources(cha
 			(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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-29 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 17:46 [PATCH -next] memrar: fix printk format warning Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox