summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-10-02 20:31:38 -0300
committerArd Biesheuvel <ardb@kernel.org>2026-10-06 12:18:41 +0200
commitd83fe67339f2032d8facf0fe8a047a4c5d15394f (patch)
tree99894c1a5c623ebeef77993c2d00e0936944825b /tools/perf/scripts/python
parent1e50ed98255b2bf68fa881595c44c6be2a037ac0 (diff)
downloadlinux-next-d83fe67339f2032d8facf0fe8a047a4c5d15394f.tar.gz
linux-next-d83fe67339f2032d8facf0fe8a047a4c5d15394f.zip
efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot()
Sashiko says fdt_addr can point to either an allocated fdt or the fdt from get_fdt() which is memory owned by FW. Only the allocated fdt should be freed on the error unwind path. Use a dedicated variable for the allocation's size so that the free does not get confused. Fixes: 4fc8e738ff3e ("efi: libstub: remove DT dependency from generic stub") Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions