Re: [PATCH] PM: Convert timers to use timer_setup()

From: Kees Cook
Date: Mon Oct 16 2017 - 20:31:05 EST


On Mon, Oct 16, 2017 at 5:15 PM, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
> On Tuesday, October 17, 2017 2:19:48 AM CEST Kees Cook wrote:
>> On Mon, Oct 16, 2017 at 4:53 PM, Rafael J. Wysocki
>> <rafael.j.wysocki@xxxxxxxxx> wrote:
>> > On 10/17/2017 1:20 AM, 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. Removes test of .data field, since
>> >> that will be going away.
>> >>
>> >> Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
>> >> Cc: Pavel Machek <pavel@xxxxxx>
>> >> Cc: Len Brown <len.brown@xxxxxxxxx>
>> >> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>> >> Cc: linux-pm@xxxxxxxxxxxxxxx
>> >> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>> >
>> >
>> > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>>
>> Do you want this to be carried in the timers tree, or can you pick it up?
>
> I can pick it up, but only for 4.15.

Yup, this is based on -next. Thanks!

-Kees

--
Kees Cook
Pixel Security