Skip to content

Commit 349f7a3

Browse files
haoyu.lugregkh
authored andcommitted
bpf,arc_jit: Fix missing newline in pr_err messages
[ Upstream commit b6b5e0e ] Add missing newline to pr_err messages in ARC JIT. Fixes: f122668 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d45781c commit 349f7a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arc/net/bpf_jit_arcv2.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@ u8 arc_prologue(u8 *buf, u32 usage, u16 frame_size)
24272427

24282428
#ifdef ARC_BPF_JIT_DEBUG
24292429
if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
2430-
pr_err("FP is being saved while there is no frame.");
2430+
pr_err("FP is being saved while there is no frame.\n");
24312431
BUG();
24322432
}
24332433
#endif
@@ -2454,7 +2454,7 @@ u8 arc_epilogue(u8 *buf, u32 usage, u16 frame_size)
24542454

24552455
#ifdef ARC_BPF_JIT_DEBUG
24562456
if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
2457-
pr_err("FP is being saved while there is no frame.");
2457+
pr_err("FP is being saved while there is no frame.\n");
24582458
BUG();
24592459
}
24602460
#endif
@@ -2868,7 +2868,7 @@ u8 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
28682868
break;
28692869
default:
28702870
#ifdef ARC_BPF_JIT_DEBUG
2871-
pr_err("64-bit jump condition is not known.");
2871+
pr_err("64-bit jump condition is not known.\n");
28722872
BUG();
28732873
#endif
28742874
}
@@ -2948,7 +2948,7 @@ u8 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
29482948
*/
29492949
if (cond >= ARC_CC_LAST) {
29502950
#ifdef ARC_BPF_JIT_DEBUG
2951-
pr_err("32-bit jump condition is not known.");
2951+
pr_err("32-bit jump condition is not known.\n");
29522952
BUG();
29532953
#endif
29542954
return 0;

0 commit comments

Comments
 (0)