Thread (5 messages) flat view 5 messages, 2 authors, 2017-03-06

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

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2017-03-06 13:09:09
Also in: lkml, netdev

On Mon, 2017-03-06 at 13:25 +0100, Johannes Berg wrote:
On Fri, 2017-03-03 at 13:45 +0100, Jiri Slaby wrote:
quoted
From: Ondřej Lysoněk <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help