From 556064ca1c741ccf0f5cc5f8e7f5e1e42e8ac751 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 6 Apr 2023 14:31:34 +0300 Subject: [PATCH] unwind: devm_add_action_or_reset() is now a macro The function is called __devm_add_action_or_reset() now. Update the check. Signed-off-by: Dan Carpenter --- check_unwind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/check_unwind.c b/check_unwind.c index c2f60f42..e2102ec7 100644 --- a/check_unwind.c +++ b/check_unwind.c @@ -464,6 +464,7 @@ void check_unwind_path(int id) path_id = id; add_function_hook("devm_add_action_or_reset", &ignore_path, NULL); + add_function_hook("__devm_add_action_or_reset", &ignore_path, NULL); add_function_hook("drmm_add_action", &ignore_path, NULL); add_function_hook("__drmm_add_action", &ignore_path, NULL); add_function_hook("pcim_enable_device", &ignore_path, NULL); -- 2.11.4.GIT