aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2023-12-25 19:03:56 +0000
committerThierry Reding <[email protected]>2024-02-21 16:10:32 +0000
commit1315848f1f8a0100cb6f8a7187bc320c5d98947f (patch)
tree8abac992d4a898f35636112566784eed403ee826 /drivers/cdx/controller/cdx_controller.c
parentLinux 6.8-rc1 (diff)
downloadkernel-1315848f1f8a0100cb6f8a7187bc320c5d98947f.tar.gz
kernel-1315848f1f8a0100cb6f8a7187bc320c5d98947f.zip
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions