diff options
author | Xiaoke Wang <xkernel.wang@foxmail.com> | 2022-03-04 11:38:20 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-03-04 11:51:37 +0300 |
commit | d7f15befac809ba365742464e1b0bebf07149c58 (patch) | |
tree | 05f63aa0ba5dcf5795cf38c02593d7fca6016ae4 /sound/usb | |
parent | 3cffb26fbb5202c6a4bee4b99d6bef5623003fbb (diff) | |
download | linux-d7f15befac809ba365742464e1b0bebf07149c58.tar.xz |
ALSA: lola: add a check for the return of vmalloc()
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>
Link: https://lore.kernel.org/r/tencent_4221FC4089F6DF01C48F192E5784038BA205@qq.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions