projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f523b
)
Input: mark custom_data in ff_periodic_effect as __user
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 3 Nov 2009 05:57:39 +0000
(21:57 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 3 Nov 2009 06:26:09 +0000
(22:26 -0800)
The custom_data pointer in ff_periodict_effect structure is a
userspace pointer and should be marked as such.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/input.h
patch
|
blob
|
history
diff --git
a/include/linux/input.h
b/include/linux/input.h
index
0ccfc30
..
9ee67b4
100644
(file)
--- a/
include/linux/input.h
+++ b/
include/linux/input.h
@@
-890,7
+890,7
@@
struct ff_periodic_effect {
struct ff_envelope envelope;
__u32 custom_len;
- __s16 *custom_data;
+ __s16
__user
*custom_data;
};
/**