]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2889c658b2fbc7ad4c5d541734fdc1d97b130753
tree4f730602509b01e14b9776ada4226433c3136f34
parente4931b824a6f36cae9cc5632709f015cfa748a25
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