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

2017-10-11 Thread David Miller
From: Kees Cook 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

[PATCH] hdlc: Convert timers to use timer_setup()

2017-10-10 Thread Kees Cook
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