Re: [PATCH] kmalloc_wrong_size: Preparation work in order to add more functions

Dan Carpenter <[email protected]> Mon, 23 May 2022 16:00:22 +0300
Newsgroups org.kernel.vger.smatch
Message-ID <20220523130022.GD4009@kadam>
On Sat, May 21, 2022 at 12:06:53PM +0200, Christophe JAILLET wrote:
> The fact that the 'size' parameter is the first one when kmalloc is used
> is hard coded.
> Pass this information via the last argument of add_function_assign_hook()
> so that other allocation functions (devm_...) can use the same hook.
> 

Applied!

regards,
dan carpenter