summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2024-11-24 11:00:03 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-11-24 15:25:03 +0100
commit967d57ab592ce1bcab0785f8483b1b43c2d881aa (patch)
treec248b9900e96ef3d4f352caadf23cfd0da2441cd /drivers/ddr/microchip
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 <xypron.glpk@gmx.de> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'drivers/ddr/microchip')
0 files changed, 0 insertions, 0 deletions