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

2020-05-10 Thread Jiri Kosina
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

[PATCH -next v2] livepatch: Make klp_apply_object_relocs static

2020-05-08 Thread Samuel Zou
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")