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 uaccess: fix integer overflow on access_ok() 2022-03-28 09:58:45 +02:00
kernel kprobes: treewide: Cleanup the error messages for kprobes 2023-02-22 12:57:00 +01:00
lib csky: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00
mm exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
Kbuild
Kconfig csky: Make HAVE_TCM depend on !COMPILE_TEST 2021-10-16 07:20:12 +08:00
Kconfig.debug
Kconfig.platforms
Makefile