Add kvmalloc_node(), kvzalloc_node(), kvrealloc() Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> --- smatch_allocations.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smatch_allocations.c b/smatch_allocations.c index 08957f3e0902..68ca6595a8a8 100644 --- a/smatch_allocations.c +++ b/smatch_allocations.c @@ -68,8 +68,11 @@ static struct alloc_fn_info kernel_alloc_funcs[] = { {"kvmalloc", "$0"}, {"kvmalloc_array", "$0 * $1"}, + {"kvmalloc_node", "$0"}, {"kvzalloc", "$0", .zeroed=true}, {"kvcalloc", "$0 * $1", .zeroed=true}, + {"kvzalloc_node", "$0", .zeroed=true}, + {"kvrealloc", "$2"}, {"kmemdup", "$1"}, {"devm_kmemdup", "$2"}, -- 2.34.1