]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Deal with error return code of the ftrace_process_locs() function
authorYuntao Wang <ytcoode@gmail.com>
Thu, 20 Jan 2022 06:59:49 +0000 (06:59 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 27 May 2022 01:12:59 +0000 (21:12 -0400)
commitf0a79ea187c11b0e3f2b12e6a357914e92c15216
tree4f730602509b01e14b9776ada4226433c3136f34
parent9c7bf3de16b634364a7d98ed395abf3b9167a29a
ftrace: Deal with error return code of the ftrace_process_locs() function

The ftrace_process_locs() function may return -ENOMEM error code, which
should be handled by the callers.

Link: https://lkml.kernel.org/r/20220120065949.1813231-1-ytcoode@gmail.com
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c