summaryrefslogtreecommitdiff
path: root/cmd/sqfs.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2022-10-06 16:08:44 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-06 23:54:58 +0300
commita75e8355eaa561ebd6128c92a90288d5d7c1f060 (patch)
treedd64567f7dee81a24da8d6b66daa84230d262fb9 /cmd/sqfs.c
parent05c4c9e21ae6f45ba1091917fc55f3ebc3916909 (diff)
downloadu-boot-a75e8355eaa561ebd6128c92a90288d5d7c1f060.tar.xz
cmd: replace efi_create_handle/add_protocol with InstallMultipleProtocol
In general handles should only be deleted if the last remaining protocol is removed. Instead of explicitly calling efi_create_handle -> efi_add_protocol -> efi_delete_handle which blindly removes all protocols from a handle before removing it, use InstallMultiple/UninstallMultiple which adheres to the EFI spec and only deletes a handle if there are no additional protocols present Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/sqfs.c')
0 files changed, 0 insertions, 0 deletions