Commit cb935cb4 authored by Andrew Morton's avatar Andrew Morton Committed by John W. Linville

bcm43xx_debugfs sscanf fix

ia64:

drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c: In function `tsf_write_file':
drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:237: warning: long long int format, u64 arg (arg 3)
drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:237: warning: long long int format, u64 arg (arg 3)

We do not know what type was used to implement u64 and we can never use u64 in
printk(), sscanf(), etc.

Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent aaf44a06
...@@ -219,7 +219,7 @@ static ssize_t tsf_write_file(struct file *file, const char __user *user_buf, ...@@ -219,7 +219,7 @@ static ssize_t tsf_write_file(struct file *file, const char __user *user_buf,
ssize_t buf_size; ssize_t buf_size;
ssize_t res; ssize_t res;
unsigned long flags; unsigned long flags;
u64 tsf; unsigned long long tsf;
buf_size = min(count, sizeof (really_big_buffer) - 1); buf_size = min(count, sizeof (really_big_buffer) - 1);
down(&big_buffer_sem); down(&big_buffer_sem);
......
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