summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2024-11-24 11:00:03 +0200
committerHeinrich Schuchardt <[email protected]>2024-11-24 15:25:03 +0100
commit967d57ab592ce1bcab0785f8483b1b43c2d881aa (patch)
treec248b9900e96ef3d4f352caadf23cfd0da2441cd /include/linux
parent9c792ab336f7146e8d49bca6d9d093d2392ded5d (diff)
lmb: Correctly unmap and free memory on errors
We never free and unmap the memory on errors and we never unmap it when freeing it. The latter won't cause any problems even on sandbox, but for consistency always use unmap_sysmem() Fixes: commit 22f2c9ed9f53 ("efi: memory: use the lmb API's for allocating and freeing memory") Reviewed-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions