mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
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>
This commit is contained in:
parent
a5f523bc0c
commit
e74c2e81fc
@ -890,7 +890,7 @@ struct ff_periodic_effect {
|
|||||||
struct ff_envelope envelope;
|
struct ff_envelope envelope;
|
||||||
|
|
||||||
__u32 custom_len;
|
__u32 custom_len;
|
||||||
__s16 *custom_data;
|
__s16 __user *custom_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user