]> git.proxmox.com Git - mirror_edk2.git/commit - FatPkg/EnhancedFatDxe/UnicodeCollation.c
InitializeUnicodeCollationSupportWorker mixed the use of Status variable for OpenProt...
authorStar Zeng <star.zeng@intel.com>
Wed, 29 May 2013 09:01:46 +0000 (09:01 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
commit4a30cd67a507d0a57a724bbe4d783b58975d0d10
treea6099cbcf3c233155b2e27df9d9f56c07671bf7c
parent3ba5368df0a3d459606fe78bc73776359c8bc005
InitializeUnicodeCollationSupportWorker mixed the use of Status variable for OpenProtocol and return, it will cause the function to return EFI_SUCCESS even the proper UnicodeCollation is absent. Add ReturnStatus to hold the return status.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
(based on FatPkg commit c7046d14e7ebbb03282a5225ed43feee7889a9e9)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/UnicodeCollation.c