Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e74c2e81 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -890,7 +890,7 @@ struct ff_periodic_effect {
	struct ff_envelope envelope;

	__u32 custom_len;
	__s16 *custom_data;
	__s16 __user *custom_data;
};

/**