Commit bdd345d8 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

Staging: Android: fix more printk formats

Fix more android ram_console printk format warnings:

drivers/staging/android/ram_console.c:238: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
drivers/staging/android/ram_console.c:238: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7fce9399
...@@ -235,8 +235,8 @@ static int __init ram_console_init(struct ram_console_buffer *buffer, ...@@ -235,8 +235,8 @@ static int __init ram_console_init(struct ram_console_buffer *buffer,
ECC_BLOCK_SIZE) + 1) * ECC_SIZE; ECC_BLOCK_SIZE) + 1) * ECC_SIZE;
if (ram_console_buffer_size > buffer_size) { if (ram_console_buffer_size > buffer_size) {
pr_err("ram_console: buffer %p, invalid size %d, " pr_err("ram_console: buffer %p, invalid size %zu, "
"non-ecc datasize %d\n", "non-ecc datasize %zu\n",
buffer, buffer_size, ram_console_buffer_size); buffer, buffer_size, ram_console_buffer_size);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment