* [PATCH] Input: evdev - Fix printk() format warning
@ 2008-08-19 19:27 Roland Dreier
2008-08-19 19:42 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Roland Dreier @ 2008-08-19 19:27 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-kernel
drivers/input/evdev.c: In function 'handle_eviocgbit':
drivers/input/evdev.c:684: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
drivers/input/evdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index a92d815..70854db 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -678,7 +678,7 @@ static int handle_eviocgbit(struct input_dev *dev, unsigned int cmd, void __user
if (printk_timed_ratelimit(&keymax_warn_time, 10 * 1000))
printk(KERN_WARNING
"evdev.c(EVIOCGBIT): Suspicious buffer size %d, "
- "limiting output to %d bytes. See "
+ "limiting output to %ld bytes. See "
"http://userweb.kernel.org/~dtor/eviocgbit-bug.html\n",
OLD_KEY_MAX,
BITS_TO_LONGS(OLD_KEY_MAX) * sizeof(long));
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-19 19:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 19:27 [PATCH] Input: evdev - Fix printk() format warning Roland Dreier
2008-08-19 19:42 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.