mm/bpf_memcontrol: Add missing newline in pr_warn message
Subsystems (3)
PATCH 1/1 mm/bpf_memcontrol: Add missing newline in pr_warn message
From: Hui Zhu <[email protected]>
Add missing newline character at the end of pr_warn error message in bpf_memcontrol_init() function. Kernel log messages should end with a newline character for proper formatting in kernel logs.
This issue was pointed out in
https://github.com/kernel-patches/bpf/pull/10864#discussion_r2735018210
--- mm/bpf_memcontrol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/bpf_memcontrol.c +2 -1
@@ -186,7 +186,8 @@ static int __init bpf_memcontrol_init(void) err =register_btf_kfunc_id_set (BPF_PROG_TYPE_UNSPEC , &bpf_memcontrol_kfunc_set);if (err) -pr_warn ("error while registering bpf memcontrol kfuncs: %d" , err); +pr_warn ("error while registering bpf memcontrol kfuncs: %d\n" , + err);return err; }
Signature · 1 line
2.43.0
Quoted 9 lines · Hui Zhu
From: Hui Zhu <[email protected]>
Add missing newline character at the end of
pr_warnerror message inbpf_memcontrol_init()function. Kernel log messages should end with a newline character for proper formatting in kernel logs.This issue was pointed out in
https://github.com/kernel-patches/bpf/pull/10864#discussion_r2735018210
Just spell it out that it was found by copilot.
pw-bot: cr
Quoted 10 lines · Hui Zhu
From: Hui Zhu <[email protected]>
Add missing newline character at the end of
pr_warnerror message inbpf_memcontrol_init()function. Kernel log messages should end with a newline character for proper formatting in kernel logs.This issue was pointed out in
https://github.com/kernel-patches/bpf/pull/10864#discussion_r2735018210Signed-off-by Hui Zhu <[email protected]>