提交 e74c2e81 编写于 作者: D 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: NDmitry Torokhov <dtor@mail.ru>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册