]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: efi_dp_split_file_path() error handling
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 4 Feb 2019 11:49:43 +0000 (12:49 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 16 Feb 2019 14:42:19 +0000 (15:42 +0100)
commitcaf6d2fd1a0c4c8eb2b8125c10a9d6bc37676e1a
treee6e044081d60b59b68247b31f0945f7c2f74afe7
parentee3c8ba85525cea5b004c4bd1262c75e461e3eb3
efi_loader: efi_dp_split_file_path() error handling

If the path passed to efi_dp_split_file_path() does not contain a
reference to a file it returns EFI_OUT_OF_RESOURCES. This does not properly
indicate the kind of the problem that occurred. Return
EFI_INVALID_PARAMETER instead.

Update function description.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_device_path.c