[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45ffdd2f-ad74-c6fe-3788-da3f9e4df625@163.com>
Date: Mon, 9 Oct 2017 15:51:36 +0800
From: Jia-Ju Bai <baijiaju1990@....com>
To: Clemens Ladisch <clemens@...isch.de>
Cc: perex@...ex.cz, tiwai@...e.com, o-takashi@...amocchi.jp,
elfring@...rs.sourceforge.net, fabf@...net.be,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH] opl3: Fix a possible sleep-in-atomic bug in
snd_opl3_find_patch
Thanks for your reply :)
Yes, you are right. Sorry for this false positive.
Thanks,
Jia-Ju Bai
On 2017/10/9 14:32, Clemens Ladisch wrote:
> Jia-Ju Bai wrote:
>> The driver may sleep under a spinlock, and the function call path is:
>> snd_opl3_note_on (acquire the spinlock)
>> snd_opl3_find_patch
>> kzalloc(GFP_KERNEL) --> may sleep
> This call path is not possible because create_patch is not set.
>
>
> Regards,
> Clemens
Powered by blists - more mailing lists