* [PATCH] check_release_resource: Remove some test about functions that are no more part of linux
@ 2022-05-30 19:17 Christophe JAILLET
2022-05-31 11:12 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2022-05-30 19:17 UTC (permalink / raw)
To: smatch; +Cc: Christophe JAILLET
request_mem_resource() and release_mem_resource() seem to not exist in
recent kernel. Remove them.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
I've tried to find it in older version. I randomly tried some search
with elixir, up to 2.6, but never found these function. Any idea where it
comes from?
---
check_release_resource.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/check_release_resource.c b/check_release_resource.c
index 7ea2c291c259..1c0fdfd93154 100644
--- a/check_release_resource.c
+++ b/check_release_resource.c
@@ -84,7 +84,5 @@ void check_release_resource(int id)
add_function_hook("request_resource", &match_request, INT_PTR(1));
add_function_hook("release_resource", &match_release, INT_PTR(0));
- add_function_hook("request_mem_resource", &match_request, INT_PTR(0));
- add_function_hook("release_mem_resource", &match_release, INT_PTR(0));
add_hook(&match_end_func, END_FUNC_HOOK);
}
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-31 11:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-30 19:17 [PATCH] check_release_resource: Remove some test about functions that are no more part of linux Christophe JAILLET
2022-05-31 11:12 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox