Re: [PATCH] mac80211: Use setup_timer instead of init_timer

From: Johannes Berg
Date: Mon Mar 06 2017 - 08:09:23 EST


On Mon, 2017-03-06 at 13:25 +0100, Johannes Berg wrote:
> On Fri, 2017-03-03 at 13:45 +0100, Jiri Slaby wrote:
> > From: OndÅej LysonÄk <ondrej.lysonek@xxxxxxxxx>
> >
> > Use setup_timer() and setup_deferrable_timer() to set the data and
> > function timer fields. It makes the code cleaner and will allow for
> > easier change of the timer struct internals.
>
> Btw, I suspect you generated this with coccinelle and didn't put
> enough
> "..." there, because you missed one in mesh_path_new() :)
>
and perhaps mesh_plink_timer_set()?

johannes