lkml.org 
[lkml]   [2022]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ALSA: lola: add a check for the return of vmalloc()
    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

    \
     
     \ /
      Last update: 2022-03-04 09:52    [W:4.088 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site