[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141230.183523.1317268892939288322.davem@davemloft.net>
Date: Tue, 30 Dec 2014 18:35:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: jcliburn@...il.com, kernel-janitors@...r.kernel.org,
chris.snook@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/27] atheros: atlx: Use setup_timer
From: Julia Lawall <Julia.Lawall@...6.fr>
Date: Fri, 26 Dec 2014 15:35:34 +0100
> Convert a call to init_timer and accompanying intializations of
> the timer's data and function fields to a call to setup_timer.
>
> A simplified version of the semantic match that fixes this problem is as
> follows: (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> expression t,f,d;
> @@
>
> -init_timer(&t);
> +setup_timer(&t,f,d);
> -t.function = f;
> -t.data = d;
> // </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists