Skip to content

Commit 1b9df39

Browse files
committed
Merge tag 'tegra-for-6.9-firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/drivers
firmware: tegra: Changes for v6.9-rc1 Contains a fix that makes sure we don't unnecessarily call kfree(). * tag 'tegra-for-6.9-firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename() Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 3326155 + 1315848 commit 1b9df39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/tegra/bpmp-debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static const char *get_filename(struct tegra_bpmp *bpmp,
7777

7878
root_path_buf = kzalloc(root_path_buf_len, GFP_KERNEL);
7979
if (!root_path_buf)
80-
goto out;
80+
return NULL;
8181

8282
root_path = dentry_path(bpmp->debugfs_mirror, root_path_buf,
8383
root_path_buf_len);

0 commit comments

Comments
 (0)