Re: [PATCH] sound/core/control.c: hard-irq-safe -> hard-irq-unsafe lock warning

From: Takashi Iwai
Date: Mon Oct 22 2007 - 11:22:24 EST


At Sun, 21 Oct 2007 12:56:00 +0200,
Borislav Petkov wrote:
>
> Hi,
>
> I get this on current git: v2.6.23-6597-gcfa76f0:
(snip)
> The following patch fixes it for me.
>
> ---
> From: Borislav Petkov <bbpetkov@xxxxxxxx>
>
> The lock grabbed in snd_ctl_empty_read_queue() is hardirq-unsafe but we hold
> an hardirq-safe one already, so make the &ctl->read_lock also hard-irq-safe.
>
> Signed-off-by: Borislav Petkov <bbpetkov@xxxxxxxx>

Thanks, I applied the patch to ALSA tree now.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/