summaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov2009-11-03 06:57:39 +0100
committerDmitry Torokhov2009-11-03 07:26:09 +0100
commite74c2e81fc9e1e674f2747c85fe8cfeaaafa55f6 (patch)
tree800053b1376f5f3b7cd3963c2b5c829b44d2e21b /include/linux/input.h
parentInput: add driver for Dynapro serial touchscreen (diff)
downloadkernel-qcow2-linux-e74c2e81fc9e1e674f2747c85fe8cfeaaafa55f6.tar.gz
kernel-qcow2-linux-e74c2e81fc9e1e674f2747c85fe8cfeaaafa55f6.tar.xz
kernel-qcow2-linux-e74c2e81fc9e1e674f2747c85fe8cfeaaafa55f6.zip
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>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 0ccfc30cd40f..9ee67b4b2b48 100644
--- 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;
};
/**