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

2017-11-01 Thread Jinpu Wang
On Wed, Oct 25, 2017 at 12:08 PM, 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. This requires adding a pointer to > hold the timer'

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

2017-10-31 Thread John Garry
On 25/10/2017 11:08, 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. This requires adding a pointer to hold the timer's target task, as th

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

2017-10-31 Thread Martin K. Petersen
Kees, > 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 requires > adding a pointer to hold the timer's target task, as there isn't a > link back