[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171011.151908.1325409031052082911.davem@davemloft.net>
Date: Wed, 11 Oct 2017 15:19:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: keescook@...omium.org
Cc: khc@...waw.pl, netdev@...r.kernel.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hdlc: Convert timers to use timer_setup()
From: Kees Cook <keescook@...omium.org>
Date: Tue, 10 Oct 2017 15:08:33 -0700
> 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. This adds a pointer back to the
> net_device, and drops needless open-coded resetting of the .function and
> .data fields.
>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Krzysztof Halasa <khc@...waw.pl>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> This requires commit 686fef928bba ("timer: Prepare to change timer
> callback argument type") in v4.14-rc3, but should be otherwise
> stand-alone.
This doesn't apply cleanly to net-next, please respin.
Powered by blists - more mailing lists