Re: [PATCH] Input: Convert timers to use timer_setup()
From: Pali RohÃr
Date: Fri Oct 06 2017 - 12:03:12 EST
On Thursday 05 October 2017 02:53:29 Kees Cook wrote:
> In preparation for unconditionally passing the struct timer_list
> pointer to all timer callbacks, switch to using the new
> timer_setup() and from_timer() to pass the timer pointer explicitly.
> Adds a pointer back to input device in byd driver.
>
> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Cc: "Pali RohÃr" <pali.rohar@xxxxxxxxx>
> Cc: Ben Gamari <ben@xxxxxxxxxxxxxxxx>
> Cc: Paul Donohue <linux-kernel@xxxxxxxxxx>
> Cc: Masaki Ota <masaki.ota@xxxxxxxxxxx>
> Cc: linux-input@xxxxxxxxxxxxxxx
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> This requires commit 686fef928bba ("timer: Prepare to change timer
> callback argument type") in v4.14-rc3, but should be otherwise
> stand-alone.
> ---
> drivers/input/ff-memless.c | 8 ++++----
> drivers/input/mouse/alps.c | 8 ++++----
> drivers/input/mouse/byd.c | 10 ++++++----
> 3 files changed, 14 insertions(+), 12 deletions(-)
Looks good,
Acked-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
--
Pali RohÃr
pali.rohar@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part.