From: Takashi Iwai <tiwai@suse.de>
To: xkernel.wang@foxmail.com
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
tiwai@suse.com
Subject: Re: [PATCH] ALSA: lola: add a check for the return of vmalloc()
Date: Fri, 04 Mar 2022 09:51:47 +0100 [thread overview]
Message-ID: <s5hr17irtgc.wl-tiwai@suse.de> (raw)
In-Reply-To: <tencent_4221FC4089F6DF01C48F192E5784038BA205@qq.com>
On Fri, 04 Mar 2022 09:38:20 +0100,
xkernel.wang@foxmail.com wrote:
>
> From: Xiaoke Wang <xkernel.wang@foxmail.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@foxmail.com>
Thanks, applied.
Takashi
prev parent reply other threads:[~2022-03-04 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 8:38 [PATCH] ALSA: lola: add a check for the return of vmalloc() xkernel.wang
2022-03-04 8:51 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hr17irtgc.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.com \
--cc=xkernel.wang@foxmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox