diff options
author | 2020-12-11 17:47:55 +0000 | |
---|---|---|
committer | 2020-12-11 17:47:55 +0000 | |
commit | 031616c434db05ce766f76c62865f55698e0924f (patch) | |
tree | 7f29aa1ff3e7b51a8058cd570fb785c6e769b245 /kernel/trace/trace_functions_graph.c | |
parent | Merge remote-tracking branch 'asoc/for-5.9' into asoc-linus (diff) | |
parent | ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control() (diff) | |
download | linux-rng-031616c434db05ce766f76c62865f55698e0924f.tar.xz linux-rng-031616c434db05ce766f76c62865f55698e0924f.zip |
Merge remote-tracking branch 'asoc/for-5.10' into asoc-linus
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index 4a9c49c08ec9..60d66278aa0d 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c @@ -1336,13 +1336,13 @@ static const struct file_operations graph_depth_fops = { static __init int init_graph_tracefs(void) { - struct dentry *d_tracer; + int ret; - d_tracer = tracing_init_dentry(); - if (IS_ERR(d_tracer)) + ret = tracing_init_dentry(); + if (ret) return 0; - trace_create_file("max_graph_depth", 0644, d_tracer, + trace_create_file("max_graph_depth", 0644, NULL, NULL, &graph_depth_fops); return 0; |