aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/memrar/memrar_handler.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-04-29 10:46:32 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:35:57 -0700
commit6cbfa62589d71500d8097fd33e8f9958d484b071 (patch)
tree9afd451d608c94b72b264323c80f02a74fb77cca /drivers/staging/memrar/memrar_handler.c
parent3fffdf2045d0dbca3833f8f54ae41ce5f2c0b8fa (diff)
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 <randy.dunlap@oracle.com> Cc: Ossama Othman <ossama.othman@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/memrar/memrar_handler.c')
-rw-r--r--drivers/staging/memrar/memrar_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/memrar/memrar_handler.c b/drivers/staging/memrar/memrar_handler.c
index 4bbf66f4223..3e0dfe36576 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);