Skip to content

Commit

Permalink
Staging: memrar: fix printk format warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 3fffdf2 commit 6cbfa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/memrar/memrar_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6cbfa62

Please sign in to comment.