WSL2-Linux-Kernel/arch/csky
Masami Hiramatsu b5d5f1ad05 kprobes: treewide: Cleanup the error messages for kprobes
[ Upstream commit 9c89bb8e32 ]

This clean up the error/notification messages in kprobes related code.
Basically this defines 'pr_fmt()' macros for each files and update
the messages which describes

 - what happened,
 - what is the kernel going to do or not do,
 - is the kernel fine,
 - what can the user do about it.

Also, if the message is not needed (e.g. the function returns unique
error code, or other error message is already shown.) remove it,
and replace the message with WARN_*() macros if suitable.

Link: https://lkml.kernel.org/r/163163036568.489837.14085396178727185469.stgit@devnote2

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Stable-dep-of: eb7423273c ("riscv: kprobe: Fixup misaligned load text")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-22 12:57:00 +01:00
..
abiv1 csky: Fix function name in csky_alignment() and die() 2023-02-01 08:27:21 +01:00
abiv2
boot
configs
include
kernel kprobes: treewide: Cleanup the error messages for kprobes 2023-02-22 12:57:00 +01:00
lib
mm exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
Kbuild
Kconfig
Kconfig.debug
Kconfig.platforms
Makefile