Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1593299

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

From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: [PATCH] mac80211: Use setup_timer instead of init_timer
Date 2017-03-06 14:10 +0100
Message-ID <ti0yJ-9I-5@gated-at.bofh.it> (permalink)
References <tgUOJ-1js-3@gated-at.bofh.it> <ti05I-8bx-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@seznam.cz>
> > 
> > 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mac80211: Use setup_timer instead of init_timer Jiri Slaby <jslaby@suse.cz> - 2017-03-03 13:50 +0100
  Re: [PATCH] mac80211: Use setup_timer instead of init_timer Johannes Berg <johannes@sipsolutions.net> - 2017-03-06 13:40 +0100
  Re: [PATCH] mac80211: Use setup_timer instead of init_timer Jiri Slaby <jslaby@suse.cz> - 2017-03-06 13:40 +0100
  Re: [PATCH] mac80211: Use setup_timer instead of init_timer Johannes Berg <johannes@sipsolutions.net> - 2017-03-06 14:10 +0100
    Re: [PATCH] mac80211: Use setup_timer instead of init_timer Johannes Berg <johannes@sipsolutions.net> - 2017-03-06 14:10 +0100
  Re: [PATCH] mac80211: Use setup_timer instead of init_timer Johannes Berg <johannes@sipsolutions.net> - 2017-03-06 14:10 +0100

csiph-web