Commit 5d9da759 authored by Jiri Kosina's avatar Jiri Kosina

livepatch: __klp_shadow_get_or_alloc() is local to shadow.c

... therefore make it static.

Fixes: 439e7271 ("livepatch: introduce shadow variable API")
Acked-by: default avatarJoe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 439e7271
......@@ -113,7 +113,7 @@ void *klp_shadow_get(void *obj, unsigned long id)
}
EXPORT_SYMBOL_GPL(klp_shadow_get);
void *__klp_shadow_get_or_alloc(void *obj, unsigned long id, void *data,
static void *__klp_shadow_get_or_alloc(void *obj, unsigned long id, void *data,
size_t size, gfp_t gfp_flags, bool warn_on_exist)
{
struct klp_shadow *new_shadow;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment