[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160726074207.GO11405@piout.net>
Date: Tue, 26 Jul 2016 09:42:07 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
rtc-linux@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] rtc: at91sam9: Fix missing spin_lock_init()
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@...il.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
Powered by blists - more mailing lists