linux/drivers/firmware/tegra
Markus Elfring 1315848f1f firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
The kfree() function was called in one case by
the get_filename() function during error handling
even if the passed variable contained a null pointer.
This issue was detected by using the Coccinelle software.

Thus return directly after a call of the function “kzalloc” failed
at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2024-02-21 17:10:32 +01:00
..
bpmp-debugfs.c firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename() 2024-02-21 17:10:32 +01:00
bpmp-private.h firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00
bpmp-tegra186.c firmware: tegra: bpmp: Add support for DRAM MRQ GSCs 2023-06-09 17:17:23 +02:00
bpmp-tegra210.c firmware: tegra: Remove surplus dev_err() when using platform_get_irq_byname() 2022-11-17 23:52:39 +01:00
bpmp.c firmware: tegra: Add suspend hook and reset BPMP IPC early on resume 2023-10-13 14:20:27 +02:00
ivc.c firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00
Kconfig tegra: mark BPMP driver as little-endian only 2022-11-23 14:21:23 +01:00
Makefile firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00