aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-11-03 07:21:54 -1000
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-11-03 07:21:54 -1000
commit00657bb3dbecee324336e1da1ad71b670b6aee60 (patch)
tree2cbc251a377ac0385bde486194c575c1524a90a9
parentMerge tag 'bitmap-for-6.7' of https://github.com/norov/linux (diff)
parentlivepatch: Fix missing newline character in klp_resolve_symbols() (diff)
downloadlinux-00657bb3dbecee324336e1da1ad71b670b6aee60.tar.gz
linux-00657bb3dbecee324336e1da1ad71b670b6aee60.tar.bz2
linux-00657bb3dbecee324336e1da1ad71b670b6aee60.zip
Merge tag 'livepatching-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
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()
-rw-r--r--kernel/livepatch/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c
index 61328328c474..ecbc9b6aba3a 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;
}