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

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


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() :)

Care to send a patch for that one too?

johannes