public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/3] SecurityPkg: Remove double \r
@ 2019-05-10  8:05 joerichey
  0 siblings, 0 replies; only message in thread
From: joerichey @ 2019-05-10  8:05 UTC (permalink / raw)
  To: devel; +Cc: Chao Zhang, Jiewen Yao, Jian Wang, Joe Richey

These files have \r\n line endings, but a few lines use \r\r\n which
is not a valid line ending. These lines were causing problems for git
and other tools.

Signed-off-by: Joe Richey <joerichey@google.com>
---
 SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
index f101ca1c20..18b65da756 100644
--- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
+++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
@@ -1229,7 +1229,7 @@ EFI_STATUS
 OpalDiskUpdateOwnerShip (
   OPAL_DISK        *OpalDisk
   )
-{

+{
   OPAL_SESSION  Session;
 
   if (OpalDisk->MsidLength == 0) {
@@ -1245,7 +1245,7 @@ OpalDiskUpdateOwnerShip (
   Session.MediaId = OpalDisk->MediaId;
   Session.OpalBaseComId = OpalDisk->OpalBaseComId;
 
-  OpalDisk->Owner = OpalUtilDetermineOwnership(&Session, OpalDisk->Msid, OpalDisk->MsidLength);

+  OpalDisk->Owner = OpalUtilDetermineOwnership(&Session, OpalDisk->Msid, OpalDisk->MsidLength);
   return EFI_SUCCESS;
 }
 
-- 
2.21.0.1020.gf2820cf01a-goog


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-10  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10  8:05 [PATCH 1/3] SecurityPkg: Remove double \r joerichey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox