]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: check device path is not installed twice
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 May 2020 07:22:06 +0000 (09:22 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 May 2020 08:00:17 +0000 (10:00 +0200)
commit0a87e05dbd1b6ddafd61603e2a9c12659168ae65
treef9a55af7b86066d486d6203e9219a2143ebd1d07
parentbf3bcef7fb8ef4b0bb56d00304a934a5a5eb187e
efi_loader: check device path is not installed twice

Prior to corrective patches for virtio and SATA devices the same device
path was installed on two different handles. This is not allowable.
With this patch we will throw an error if this condition occurs for
block devices.

Update a comment for the installation of the simple file system
protocol.

Reported-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c