Re: [PATCH 07/58] net/usb/usbnet: Convert timers to use timer_setup()

2017-10-17 Thread Oliver Neukum
Am Montag, den 16.10.2017, 17:28 -0700 schrieb 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. Since the callback is called from > both a ti

[PATCH 07/58] net/usb/usbnet: Convert timers to use timer_setup()

2017-10-16 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. Since the callback is called from both a timer and a tasklet, adjust the tasklet to pass the timer address to