1
0
Fork 0

livepatch: __klp_shadow_get_or_alloc() is local to shadow.c

... therefore make it static.

Fixes: 439e7271dc ("livepatch: introduce shadow variable API")
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
zero-colors
Jiri Kosina 2017-09-14 14:15:36 -07:00
parent 439e7271dc
commit 5d9da759f7
1 changed files with 1 additions and 1 deletions

View File

@ -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;