/** @file\r
Implements write firmware file.\r
\r
- Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
UINTN RemainingLength;\r
UINTN WriteLength;\r
UINT8 *TmpBuffer;\r
- \r
+\r
LOffset = 0;\r
RemainingLength = CalculateRemainingLength (FvDevice, Offset, &Lba, &LOffset);\r
if ((UINTN) (*NumBytes) > RemainingLength) {\r
\r
if (FileData[Index1].Type == EFI_FV_FILETYPE_FFS_PAD) {\r
//\r
- // According to PI spec, on EFI_FV_FILETYPE_FFS_PAD: \r
- // "Standard firmware file system services will not return the handle of any pad files, \r
+ // According to PI spec, on EFI_FV_FILETYPE_FFS_PAD:\r
+ // "Standard firmware file system services will not return the handle of any pad files,\r
// nor will they permit explicit creation of such files."\r
//\r
return EFI_INVALID_PARAMETER;\r