[bug report] ALSA: hda - Don't register a cb func if it is registered already
Hui Wang
hui.wang at canonical.com
Thu Oct 22 03:45:31 CEST 2020
On 10/21/20 11:59 PM, Takashi Iwai wrote:
> On Wed, 21 Oct 2020 17:03:11 +0200,
> Hui Wang wrote:
>> Looks like this will not bring problem on patch_sigmatel.c, NULL and
>> valid kernel pointer are same for IS_ERR(), they will not make
>> IS_ERR() come true.
> Right, and it's called only once, so the bug doesn't hit.
>
> But we should address the potential bug nevertheless, of course :)
OK, will fix it.
Thanks.
>
> thanks,
>
> Takashi
More information about the Alsa-devel
mailing list