tracing/eprobe: no need to check for negative ret value for snprintf
authorQuanfa Fu <quanfafu@gmail.com>
Mon, 20 Feb 2023 23:52:42 +0000 (08:52 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 20 Feb 2023 23:52:42 +0000 (08:52 +0900)
commitc96abaec78f34366b3ddf1c6be52ca5c1241e15b
tree818396f7971dc8ef6883abf4cbf78728206d9eba
parent1fcd09fd4f8494b05b7c34971f3498dda0bb06ee
tracing/eprobe: no need to check for negative ret value for snprintf

No need to check for negative return value from snprintf() as the
code does not return negative values.

Link: https://lore.kernel.org/all/20230109040625.3259642-1-quanfafu@gmail.com/
Signed-off-by: Quanfa Fu <quanfafu@gmail.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_eprobe.c