Add devm_kmemdup() to list of memory allocator Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> --- smatch_allocations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/smatch_allocations.c b/smatch_allocations.c index a4b8f419b030..599f195a4c31 100644 --- a/smatch_allocations.c +++ b/smatch_allocations.c @@ -72,6 +72,7 @@ static struct alloc_fn_info kernel_alloc_funcs[] = { {"kvcalloc", "$0 * $1", .zeroed=true}, {"kmemdup", "$1"}, + {"devm_kmemdup", "$2"}, {"memdup_user", "$1"}, {"sock_kmalloc", "$1"}, -- 2.34.1