WSL2-Linux-Kernel/arch/arm/probes
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
..
kprobes kprobes: treewide: Cleanup the error messages for kprobes 2023-02-22 12:57:00 +01:00
uprobes ARM: 9071/1: uprobes: Don't hook on thumb instructions 2021-04-18 19:14:45 +01:00
Makefile
decode-arm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
decode-arm.h
decode-thumb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
decode-thumb.h
decode.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
decode.h ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-21 21:24:12 +02:00