]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
livepatch: Fix missing newline character in klp_resolve_symbols()
authorZheng Yejian <zhengyejian1@huawei.com>
Thu, 14 Sep 2023 07:26:44 +0000 (15:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:57:13 +0000 (11:57 +0100)
commit432909464fd94530d4cc94a25eb84b0ebd908213
tree02c5deaceb68c2812054f15b053ff5c866b92625
parentad3fa6cc3e239ed3149bc000fc3b355860b72193
livepatch: Fix missing newline character in klp_resolve_symbols()

[ Upstream commit 67e18e132f0fd738f8c8cac3aa1420312073f795 ]

Without the newline character, the log may not be printed immediately
after the error occurs.

Fixes: ca376a937486 ("livepatch: Prevent module-specific KLP rela sections from referencing vmlinux symbols")
Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230914072644.4098857-1-zhengyejian1@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/livepatch/core.c