Re: [PATCH -next v2] livepatch: Make klp_apply_object_relocs static

From: Jiri Kosina
Date: Sun May 10 2020 - 18:32:50 EST


On Sat, 9 May 2020, Samuel Zou wrote:

> Fix the following sparse warning:
>
> kernel/livepatch/core.c:748:5: warning: symbol 'klp_apply_object_relocs' was not declared.
>
> The klp_apply_object_relocs() has only one call site within core.c
> It should be static
>
> Fixes: 7c8e2bdd5f0d ("livepatch: Apply vmlinux-specific KLP relocations early")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Samuel Zou <zou_wei@xxxxxxxxxx>

Merged in for-5.8/klp-module-fixups branch now. Thanks,

--
Jiri Kosina
SUSE Labs