Re: [PATCH] misc: uacce - add the null check for the input pointer and its pointer members

From: Greg KH
Date: Fri Mar 29 2024 - 02:35:02 EST


On Fri, Mar 29, 2024 at 02:26:55PM +0800, Chenghai Huang wrote:
> The uacce_alloc() is the member of the EXPORT_SYMBOL_GPL. Therefore, null
> pointer verification is added on the pointer type input parameter and its
> pointer members.

I do not understand, why does the export type matter? Just fix any
callers to use this properly and send proper parameters. What in-tree
caller needs this?

thanks,

greg k-h