mirror of https://github.com/acidanthera/audk.git
Fix the build error caused by recent MdePkg clean up
(based on FatPkg commit 89452d777f567e38fb24569dbda2477a05bbcd70) [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>
This commit is contained in:
parent
bcc9adde44
commit
80d70ac3ae
|
@ -172,7 +172,7 @@ Returns:
|
|||
CHAR16 Name[FAT_NAME_LEN + 1];
|
||||
EFI_STATUS Status;
|
||||
|
||||
Size = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;
|
||||
Size = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL;
|
||||
Status = FatGetVolumeEntry (Volume, Name);
|
||||
NameSize = StrSize (Name);
|
||||
ResultSize = Size + NameSize;
|
||||
|
@ -252,11 +252,11 @@ Returns:
|
|||
|
||||
--*/
|
||||
{
|
||||
EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *Info;
|
||||
EFI_FILE_SYSTEM_VOLUME_LABEL *Info;
|
||||
|
||||
Info = (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO *) Buffer;
|
||||
Info = (EFI_FILE_SYSTEM_VOLUME_LABEL *) Buffer;
|
||||
|
||||
if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO + 2) {
|
||||
if (BufferSize < SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL + 2) {
|
||||
return EFI_BAD_BUFFER_SIZE;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
||||
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
||||
|
||||
[Components.common]
|
||||
FatPkg\EnhancedFatDxe\Fat.inf
|
||||
FatPkg/EnhancedFatDxe/Fat.inf
|
||||
|
|
Loading…
Reference in New Issue