Re: [PATCH] ALSA: lola: add a check for the return of vmalloc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 04 Mar 2022 09:38:20 +0100,
xkernel.wang@xxxxxxxxxxx wrote:
> 
> From: Xiaoke Wang <xkernel.wang@xxxxxxxxxxx>
> 
> 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@xxxxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux