Re: [PATCH -next] ALSA: n64: check return value after calling platform_get_resource()

From: Takashi Iwai
Date: Sat Jun 12 2021 - 03:31:28 EST


On Thu, 10 Jun 2021 14:49:58 +0200,
Yang Yingliang wrote:
>
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>

Thanks, applied.


Takashi