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>
This commit is contained in:
@@ -113,7 +113,7 @@ void *klp_shadow_get(void *obj, unsigned long id)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(klp_shadow_get);
|
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)
|
size_t size, gfp_t gfp_flags, bool warn_on_exist)
|
||||||
{
|
{
|
||||||
struct klp_shadow *new_shadow;
|
struct klp_shadow *new_shadow;
|
||||||
|
|||||||
Reference in New Issue
Block a user