Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450445
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] rtc: at91sam9: Fix missing spin_lock_init() |
| Date | 2016-07-26 09:50 +0200 |
| Message-ID | <rZ5hL-7Cz-7@gated-at.bofh.it> (permalink) |
| References | <rYIbw-1BM-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 25/07/2016 at 07:05:11 +0000, Wei Yongjun wrote : > The driver allocates the spinlock but not initialize it. > Use spin_lock_init() on it to initialize it correctly. > > This is detected by Coccinelle semantic patch. > > Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> > --- > drivers/rtc/rtc-at91sam9.c | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH -next] rtc: at91sam9: Fix missing spin_lock_init() Wei Yongjun <weiyj.lk@gmail.com> - 2016-07-25 09:10 +0200 Re: [PATCH -next] rtc: at91sam9: Fix missing spin_lock_init() Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-07-26 09:50 +0200
csiph-web