projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62f7caf
)
Input: return correct size when reading modalias attribute
author
Richard Purdie
<rpurdie@rpsys.net>
Mon, 26 Jun 2006 05:48:21 +0000
(
01:48
-0400)
committer
Dmitry Torokhov
<dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:48:21 +0000
(
01:48
-0400)
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 3038c268917d7598091e0d80f9f3a1a9cd1f4725..b149c943484990629bd7183125084cf941980bc7 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-629,7
+629,7
@@
static ssize_t input_dev_show_modalias(struct class_device *dev, char *buf)
len = input_print_modalias(buf, PAGE_SIZE, id, 1);
- return m
ax
_t(int, len, PAGE_SIZE);
+ return m
in
_t(int, len, PAGE_SIZE);
}
static CLASS_DEVICE_ATTR(modalias, S_IRUGO, input_dev_show_modalias, NULL);