Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1255297
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/3] staging: rdma: hfi1: Use setup_timer |
| Date | 2015-10-25 09:30 +0100 |
| Message-ID | <qnoQG-891-15@gated-at.bofh.it> (permalink) |
| References | <qmWKK-3sh-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Oct 24, 2015 at 07:58:05AM +0530, Muhammad Falak R Wani wrote: > Use the timer API function setup_timer instead of init_timer, removing > the structure field assignments. > > <smpl> > > @timer@ > expression e1,e2,e3,fn_ptr; > @@ > -init_timer(&e1); > +setup_timer(&e1, fn_ptr, e2); > ... when != fn_ptr = e3 > -e1.function = fn_ptr; > -e1.data = e2; > > </smpl> > > Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> > --- > drivers/staging/rdma/hfi1/chip.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) Again, 3 patches, all with the same subject, not good :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/3] staging: rdma: hfi1: Use setup_timer Muhammad Falak R Wani <falakreyaz@gmail.com> - 2015-10-24 04:30 +0200 Re: [PATCH 1/3] staging: rdma: hfi1: Use setup_timer Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-25 09:30 +0100
csiph-web