projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fffdf2
)
Staging: memrar: fix printk format warning
author
Randy Dunlap
<randy.dunlap@oracle.com>
Thu, 29 Apr 2010 17:46:32 +0000
(10:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:35:57 +0000
(11:35 -0700)
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>
drivers/staging/memrar/memrar_handler.c
patch
|
blob
|
history
diff --git
a/drivers/staging/memrar/memrar_handler.c
b/drivers/staging/memrar/memrar_handler.c
index 4bbf66f4223d4bd5f862b7efb9f26470bd256e6a..3e0dfe3657693fd03f5e3cc0795ae7c20782d87c 100644
(file)
--- 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 = %
z
u KiB\n",
devname,
z,
rar->allocator->capacity / 1024);