diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-02-17 12:38:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 17:53:30 -0400 |
commit | bdd345d8560ab09162edd7c8fb64b7eb280a70d2 (patch) | |
tree | 29ad6635a013ea7719d7f8b4e3b9a9f1087d659e | |
parent | 7fce939942ba642b40d1d26581e824871eb3b081 (diff) |
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/android/ram_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c index d2c8f23072a0..3375c1cce2b3 100644 --- a/drivers/staging/android/ram_console.c +++ b/drivers/staging/android/ram_console.c | |||
@@ -235,8 +235,8 @@ static int __init ram_console_init(struct ram_console_buffer *buffer, | |||
235 | ECC_BLOCK_SIZE) + 1) * ECC_SIZE; | 235 | ECC_BLOCK_SIZE) + 1) * ECC_SIZE; |
236 | 236 | ||
237 | if (ram_console_buffer_size > buffer_size) { | 237 | if (ram_console_buffer_size > buffer_size) { |
238 | pr_err("ram_console: buffer %p, invalid size %d, " | 238 | pr_err("ram_console: buffer %p, invalid size %zu, " |
239 | "non-ecc datasize %d\n", | 239 | "non-ecc datasize %zu\n", |
240 | buffer, buffer_size, ram_console_buffer_size); | 240 | buffer, buffer_size, ram_console_buffer_size); |
241 | return 0; | 241 | return 0; |
242 | } | 242 | } |