Powered by Linux
Re: [PATCH 2/2] check_freeing_devm: Take advantage of the new add_allocation hook. — Semantic Matching Tool

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <christophe.jaillet@xxxxxxxxxx>
> ---
> 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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux