]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: open_info in CloseProtocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jan 2018 07:15:59 +0000 (08:15 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:13 +0000 (23:09 +0100)
commitb1120368516a524a4f6e5627acf341e730cf4072
tree27159e20a79bc3b60a002a8264c54e7c07aec6bd
parent7c05c6790c70d8f6120647c10b7879a93832e7d1
efi_loader: open_info in CloseProtocol

efi_open_protocol and efi_close_protocol have to keep track of
opened protocols.

Check if the protocol was opened for the same agent and
controller.

Remove all open protocol information for this pair.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c