[PATCH] staging: mmal-vchiq: add a check for the return of vmalloc()

Dan Carpenter dan.carpenter at oracle.com
Tue Mar 15 08:49:49 PDT 2022


On Tue, Mar 15, 2022 at 03:21:30PM +0100, Greg KH wrote:
> On Fri, Mar 04, 2022 at 04:17:41PM +0800, xkernel.wang at foxmail.com wrote:
> > From: Xiaoke Wang <xkernel.wang at foxmail.com>
> > 
> > vmalloc() is a memory allocation API which can return NULL when some
> > internal memory errors happen. So it is better to check the return
> > value of it to catch the error in time.
> > 
> > Signed-off-by: Xiaoke Wang <xkernel.wang at foxmail.com>

Unfortunately these patches are not making it to the
linux-staging at lists.linux.dev list.  They are on LKML but no one reads
LKML.

Here is the link to the staging archive.  Greg's email is there.  But
the first email is missing.
https://lore.kernel.org/linux-staging/YjCg6oQcNiGKEH3x@kroah.com/T/#u

regards,
dan carpenter




More information about the linux-arm-kernel mailing list