Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpf,arc_jit: Fix missing newline in pr_err messages

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>

authored by

haoyu.lu and committed by
Alexei Starovoitov
b6b5e0eb 398ad123

+4 -4
+4 -4
arch/arc/net/bpf_jit_arcv2.c
··· 2427 2427 2428 2428 #ifdef ARC_BPF_JIT_DEBUG 2429 2429 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"); 2431 2431 BUG(); 2432 2432 } 2433 2433 #endif ··· 2454 2454 2455 2455 #ifdef ARC_BPF_JIT_DEBUG 2456 2456 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"); 2458 2458 BUG(); 2459 2459 } 2460 2460 #endif ··· 2868 2868 break; 2869 2869 default: 2870 2870 #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"); 2872 2872 BUG(); 2873 2873 #endif 2874 2874 } ··· 2948 2948 */ 2949 2949 if (cond >= ARC_CC_LAST) { 2950 2950 #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"); 2952 2952 BUG(); 2953 2953 #endif 2954 2954 return 0;