diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-16 16:17:09 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-16 16:17:09 +0000 |
commit | a36a9b37940a8b7f6ccfe0a9cafe4195530f3891 (patch) | |
tree | 2bfae7fdc62ea1fdafeec58d1726690c2beea5a9 /FatBinPkg | |
parent | b3d25388575253929464141f7d7f2f7ded790e2e (diff) | |
download | edk2-a36a9b37940a8b7f6ccfe0a9cafe4195530f3891.zip edk2-a36a9b37940a8b7f6ccfe0a9cafe4195530f3891.tar.gz edk2-a36a9b37940a8b7f6ccfe0a9cafe4195530f3891.tar.bz2 |
Fix LocateDevicePath() to return proper error status code. It was returning EFI_INVALID_PARAMETER if Device was NULL even if not handles matched the search criteria. The proper behavior is to return EFI_NOT_FOUND if not handles match the search criteria, and only return EFI_INVALID_PARAMETER if at least one match is found and Device is NULL.
Also update function header comment block for LocateDevicePath() to match UEFI Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11406 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'FatBinPkg')
0 files changed, 0 insertions, 0 deletions