projects/linux·commit 00657bb3

Merge tag 'livepatching-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching

00657bb3 · Linus Torvalds <[email protected]> · 2023-11-03 07:21:54 -10:00

Pull livepatching update from Petr Mladek:

 - Add missing newline character to avoid waiting for a continuous
   message

* tag 'livepatching-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
  livepatch: Fix missing newline character in klp_resolve_symbols()
Commit
00657bb3dbecee324336e1da1ad71b670b6aee60
Parents
9a719c21 · 67e18e13

Merge commit. Changes below are compared with the first parent: 9a719c21.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/livepatch/core.cmodified+1−1View file

kernel/livepatch/core.c

View file
diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c
index 6132832..ecbc9b6 100644
--- a/kernel/livepatch/core.c
+++ b/kernel/livepatch/core.c
@@ -243,7 +243,7 @@ static int klp_resolve_symbols(Elf_Shdr *sechdrs, const char *strtab,
* symbols are exported and normal relas can be used instead.
*/
if (!sec_vmlinux && sym_vmlinux) {
- pr_err("invalid access to vmlinux symbol '%s' from module-specific livepatch relocation section",
+ pr_err("invalid access to vmlinux symbol '%s' from module-specific livepatch relocation section\n",
sym_name);
return -EINVAL;
}