summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-10-02 20:31:39 -0300
committerArd Biesheuvel <ardb@kernel.org>2026-10-06 12:23:43 +0200
commitfd4465f49b53c7379d10610f8edb71f77366a5b7 (patch)
tree896bfb57d8c9cb684ebe241503e7641db1d00561 /tools/perf/python/stackcollapse.py
parentd83fe67339f2032d8facf0fe8a047a4c5d15394f (diff)
downloadlinux-next-fd4465f49b53c7379d10610f8edb71f77366a5b7.tar.gz
linux-next-fd4465f49b53c7379d10610f8edb71f77366a5b7.zip
efi/riscv: libstub: Don't set image_size in handle_kernel_image()
Sashiko points out the image_size should only be set if image_addr was reassigned to some allocated memory. If image_size is not zero then the caller will free the image_addr pointer. efi_kaslr_relocate_kernel() never works like that, if it changes image_addr to allocated memory the free is done through reserve_size. Fixes: b7ac4b8ee73d ("riscv: libstub: Implement KASLR by using generic functions") Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions