]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bpf,arc_jit: Fix missing newline in pr_err messages
authorhaoyu.lu <hechushiguitu666@gmail.com>
Tue, 24 Mar 2026 12:27:02 +0000 (20:27 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 29 Mar 2026 16:59:00 +0000 (09:59 -0700)
Add missing newline to pr_err messages in ARC JIT.

Fixes: f122668ddcce ("ARC: Add eBPF JIT support")
Signed-off-by: haoyu.lu <hechushiguitu666@gmail.com>
Link: https://lore.kernel.org/r/20260324122703.641-1-hechushiguitu666@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/arc/net/bpf_jit_arcv2.c

index 6d989b6d88c69b736a701b5cbd057b754806f0ee..7ee50aeae5a456e7eb1183bf8ee7f7750d48b05b 100644 (file)
@@ -2427,7 +2427,7 @@ u8 arc_prologue(u8 *buf, u32 usage, u16 frame_size)
 
 #ifdef ARC_BPF_JIT_DEBUG
        if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
-               pr_err("FP is being saved while there is no frame.");
+               pr_err("FP is being saved while there is no frame.\n");
                BUG();
        }
 #endif
@@ -2454,7 +2454,7 @@ u8 arc_epilogue(u8 *buf, u32 usage, u16 frame_size)
 
 #ifdef ARC_BPF_JIT_DEBUG
        if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
-               pr_err("FP is being saved while there is no frame.");
+               pr_err("FP is being saved while there is no frame.\n");
                BUG();
        }
 #endif
@@ -2868,7 +2868,7 @@ u8 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
                break;
        default:
 #ifdef ARC_BPF_JIT_DEBUG
-               pr_err("64-bit jump condition is not known.");
+               pr_err("64-bit jump condition is not known.\n");
                BUG();
 #endif
        }
@@ -2948,7 +2948,7 @@ u8 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
         */
        if (cond >= ARC_CC_LAST) {
 #ifdef ARC_BPF_JIT_DEBUG
-               pr_err("32-bit jump condition is not known.");
+               pr_err("32-bit jump condition is not known.\n");
                BUG();
 #endif
                return 0;