commit | e74c2e81fc9e1e674f2747c85fe8cfeaaafa55f6 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Nov 02 21:57:39 2009 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Nov 02 22:26:09 2009 -0800 |
tree | 800053b1376f5f3b7cd3963c2b5c829b44d2e21b | |
parent | a5f523bc0cdee2a163a034344ebf1163799b3c5d [diff] |
Input: mark custom_data in ff_periodic_effect as __user 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>
diff --git a/include/linux/input.h b/include/linux/input.h index 0ccfc30..9ee67b4 100644 --- a/include/linux/input.h +++ b/include/linux/input.h
@@ -890,7 +890,7 @@ struct ff_envelope envelope; __u32 custom_len; - __s16 *custom_data; + __s16 __user *custom_data; }; /**