[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hr17irtgc.wl-tiwai@suse.de>
Date: Fri, 04 Mar 2022 09:51:47 +0100
From: Takashi Iwai <tiwai@...e.de>
To: xkernel.wang@...mail.com
Cc: perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: lola: add a check for the return of vmalloc()
On Fri, 04 Mar 2022 09:38:20 +0100,
xkernel.wang@...mail.com wrote:
>
> From: Xiaoke Wang <xkernel.wang@...mail.com>
>
> vmalloc() is a memory allocation function which can return NULL when
> some internal memory errors happen. So it is better to check the return
> of it to catch the error in time.
>
> Signed-off-by: Xiaoke Wang <xkernel.wang@...mail.com>
Thanks, applied.
Takashi
Powered by blists - more mailing lists