summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/tegra/bpmp-debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/tegra/bpmp-debugfs.c')
-rw-r--r--drivers/firmware/tegra/bpmp-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/tegra/bpmp-debugfs.c b/drivers/firmware/tegra/bpmp-debugfs.c
index 9d3874cda..34e415247 100644
--- a/drivers/firmware/tegra/bpmp-debugfs.c
+++ b/drivers/firmware/tegra/bpmp-debugfs.c
@@ -81,7 +81,7 @@ static const char *get_filename(struct tegra_bpmp *bpmp,
root_path_buf = kzalloc(root_path_buf_len, GFP_KERNEL);
if (!root_path_buf)
- goto out;
+ return NULL;
root_path = dentry_path(bpmp->debugfs_mirror, root_path_buf,
root_path_buf_len);