]> git.baikalelectronics.ru Git - uboot.git/commit
efi_driver: fix error handling
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 3 Oct 2022 08:35:35 +0000 (10:35 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Oct 2022 20:54:57 +0000 (22:54 +0200)
commitdce659cd1c6f5f95510731972537fafc497494b0
tree9d12bda5f09c758bc50aa66f9469a0d6d9c2f9c3
parent6c220925b4c24bfa6c83bb4f735a626872689cb8
efi_driver: fix error handling

If creating the block device fails,

* delete all created objects and references
* close the protocol interface on the controller

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_driver.h
lib/efi_driver/efi_block_device.c
lib/efi_driver/efi_uclass.c