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


Groups > linux.kernel > #1297057

Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly
Date 2015-12-22 21:40 +0100
Message-ID <qIBSW-e4-19@gated-at.bofh.it> (permalink)
References <qImKe-7xw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Tue, Dec 22, 2015 at 12:27:35PM +0800, Chen-Yu Tsai wrote:
> The driver allocates the spinlock but fails to initialize it correctly.
> The kernel reports a BUG indicating bad spinlock magic when spinlock
> debugging is enabled.
> 
> Call spin_lock_init() on it to initialize it correctly.
> 
> Fixes: b4e3e59fb59c ("[media] rc: add sunxi-ir driver")
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

You should probably Cc stable on this one.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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


Thread

[PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly Chen-Yu Tsai <wens@csie.org> - 2015-12-22 05:30 +0100
  Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly Hans de Goede <hdegoede@redhat.com> - 2015-12-22 12:50 +0100
  Re: [PATCH] [media] rc: sunxi-cir: Initialize the spinlock properly Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-12-22 21:40 +0100

csiph-web