Re: [PATCH] bcache: Use setup_timer and mod_timer

2016-06-30 Thread Coly Li
在 16/6/30 下午7:45, Amitoj Kaur Chawla 写道: > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > The Coccinelle semantic patch that fixes one part of this issue > is as follows: > @@ > expression t,d,f,e1; > identifier

Re: [PATCH] bcache: Use setup_timer and mod_timer

2016-06-30 Thread Coly Li
在 16/6/30 下午7:45, Amitoj Kaur Chawla 写道: > Convert a call to init_timer and accompanying intializations of > the timer's data and function fields to a call to setup_timer. > > The Coccinelle semantic patch that fixes one part of this issue > is as follows: > @@ > expression t,d,f,e1; > identifier

[PATCH] bcache: Use setup_timer and mod_timer

2016-06-30 Thread Amitoj Kaur Chawla
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. The Coccinelle semantic patch that fixes one part of this issue is as follows: @@ expression t,d,f,e1; identifier x1; statement S1; @@ ( -t.data = d; | -t.function = f;

[PATCH] bcache: Use setup_timer and mod_timer

2016-06-30 Thread Amitoj Kaur Chawla
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. The Coccinelle semantic patch that fixes one part of this issue is as follows: @@ expression t,d,f,e1; identifier x1; statement S1; @@ ( -t.data = d; | -t.function = f;