lkml.org 
[lkml]   [2022]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] staging: mmal-vchiq: add a check for the return of vmalloc()
Date
On Tue, 15 Mar 2022 16:27:38 +0100, Greg KH wrote:
> Your change just crashed the kernel :(
>
> Please be more careful

I am sorry. I ever been told that vfree(NULL) or kfree(NULL) is safe,
so I just jump to the tag `err_free` in this version.
I will resend one by adding a new proper tag.
And in fact, I did not find where ->bulk_scratch is used.

Regards,
Xiaoke Wang
\
 
 \ /
  Last update: 2022-03-15 17:24    [W:0.091 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site