Re: [PATCH 2/2] check_freeing_devm: Take advantage of the new add_allocation hook.

Dan Carpenter <[email protected]> Tue, 16 Aug 2022 11:12:12 +0300
Newsgroups org.kernel.vger.smatch
Message-ID <20220816081212.GQ3438@kadam>
On Mon, Aug 15, 2022 at 06:21:01PM +0200, Christophe JAILLET wrote:
> add_allocation_hook() already register many memory allocators. Use this
> list and filter function that starts with devm_ to avoid duplicating part
> of the list.
> 
> Signed-off-by: Christophe JAILLET <[email protected]>
> ---
> Not sure it is a really elegant solution or an improvement.

It's definitely where I want things to go.  Ideally the other string
allocation functions would get added to the allocation function list
but I'm not sure the right format for that.

Anyway, I've applied all three patches.  Thanks!

regards,
dan carpenter