Re: [PATCH] IB/ipatch: Use setup_timer and mod_timer

2015-03-02 Thread Vaishali Thakkar
On Mon, Mar 2, 2015 at 10:17 PM, Yann Droneaud wrote: > Le lundi 02 mars 2015 à 01:16 +0530, Vaishali Thakkar a écrit : >> Use timer API functions setup_timer and mod_timer instead >> of structure assignments as they are standard way to set >> the timer and to update the expire field of an active

Re: [PATCH] IB/ipatch: Use setup_timer and mod_timer

2015-03-02 Thread Yann Droneaud
Le lundi 02 mars 2015 à 01:16 +0530, Vaishali Thakkar a écrit : > Use timer API functions setup_timer and mod_timer instead > of structure assignments as they are standard way to set > the timer and to update the expire field of an active timer > respectively. > > This is done using Coccinelle and

[PATCH] IB/ipatch: Use setup_timer and mod_timer

2015-03-01 Thread Vaishali Thakkar
Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @