Commit e74c2e81 authored by Dmitry Torokhov's avatar Dmitry Torokhov

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: default avatarDmitry Torokhov <dtor@mail.ru>
parent a5f523bc
......@@ -890,7 +890,7 @@ struct ff_periodic_effect {
struct ff_envelope envelope;
__u32 custom_len;
__s16 *custom_data;
__s16 __user *custom_data;
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment