From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=uOQi8FtJ; spf=pass (domain: linaro.org, ip: 209.85.221.48, mailfrom: leif.lindholm@linaro.org) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by groups.io with SMTP; Thu, 19 Sep 2019 11:06:29 -0700 Received: by mail-wr1-f48.google.com with SMTP id r5so4045905wrm.12 for ; Thu, 19 Sep 2019 11:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jhiidwGKO6TosnQN8yEw59nT5tKPhw24KFlPejHqw/o=; b=uOQi8FtJiGlwrfHtwAXSJ2akaaQFTwx5M0+kllbXO0nNrZd5UYgoitCLMkHk6KUVDs DI0OAcVIhhnpKDC+J3WU33hHyE3aDvSxEW17Apo/oGXJtkJvzf9Cgd6ZOlktEWtXuqf7 alvxhh9cEAQyaFphuhzkwXHKMCMjGTbl+qxKx162U6mFsWnJ7960swmqy0SMaoZmQ9a9 rrYTOOdnp1FqbjE3jL33PxJlCXrnRBmEuiwGh1TRmPgPe6lY9GXrgVM5iiRXM/xkVKEA 0H14BfXcsR3NMbFRNQQ0U2OZHdOyBE2YTxH9he4K7qtXlIVz7lH/DlxG0dF8OAW8NwC9 v5FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jhiidwGKO6TosnQN8yEw59nT5tKPhw24KFlPejHqw/o=; b=nGT34+RVqkqgHx5tu7/5H/61PO8XEFKTUKZEqJz5nK47H+1vAYq/c/RFShBejtOl9O 5aREfDCRxg0S0AbSBCQibjVWWpqsAtnmu0oVZcLlHauYKCf4w6H8zCyWLwC0b/vcvVUC cDpxrT9YiM6yqKpVIKcyxpxC8c34IwejM9vFXp++lWOUMk9aMGEIdEPp95p4ktsE+BII f3fOJcxpmYwfiDCKk8euJnBYjw3vqwUjcwnCcqMzClKDpXNdlj+QvePtM0kWv6KaUosj Z482MLA0bDvg9cSU8vG+0gke9CbPK7jVedss2lsbVx3w4aiVAdKUvpv0JS8IcRNOBcE2 tI/g== X-Gm-Message-State: APjAAAWd9nU59isDB+9/6dtXsAtoGIbgQayrxaTxme6RkYYJzrejwgpM AQHeLbLvNyZcNE65AFQLHlmVq00uRpY= X-Google-Smtp-Source: APXvYqzEZboSwKoFG5aBhjig7fe+vjXnQ+BTceds4D1lQIeGNgBnMfuy+kcZTAuH2iicjnsvIKz6BQ== X-Received: by 2002:adf:f081:: with SMTP id n1mr8237252wro.273.1568916387171; Thu, 19 Sep 2019 11:06:27 -0700 (PDT) Return-Path: Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id d9sm16389769wrc.44.2019.09.19.11.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 11:06:26 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Andrew Fish , Anthony Perard , Ard Biesheuvel , Bob Feng , Dandan Bi , David Woodhouse , Eric Dong , Hao A Wu , Jian J Wang , Jordan Justen , Julien Grall , Laszlo Ersek , Liming Gao , Ray Ni , Zhichao Gao Subject: [PATCH 0/7] Strip trailing whitespace Date: Thu, 19 Sep 2019 19:06:18 +0100 Message-Id: <20190919180625.29150-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable *cough* 5-6/7 do take a bit of a shotgun approach with the Cc:s, but I would prefer not breaking the set up any more than it already is. The changes are however trivial, so hopefully not much of an issue. Before we start looking into migrating the repository to native line endings, let's start by killing off a bunch of trailing whitespace. This is basically the output of: for filetype in '*.c' '*.h' '*.s' '*.S' '*.asm' '*.py' '*.inf' '*.inc' '*.d= sc' '*.fdf' '*.dec' '*.uni' '*.txt' '*.md' '*.nasm' '*.vfr' '*.asl' '*.aslc= ' '*.asm16' '*makefile' '*.common' '*.cpp'; do find * -type f -iname "$file= type" -exec sed --in-place 's/[[:blank:]]\+\(\r*\)$/\1/' {} \;; done executed in the top-level directory. This does mess about with some imported projects, but I figure if we keep them in the tree, we might as well clean it up. Since we have some weird and wonderful file types in the tree, I think we c= an only realy ever run automated fixups on a "whitelist" of file types. Please let me know if I have left any important ones out from this operation. (Why yes, that .S _is_ totally redundant given the use of -iname, but at le= ast I'm being honest.) These patches, as well as the preceding line ending and character encoding cleanup can also be accessed at: https://git.linaro.org/people/leif.lindholm/edk2.git/log/?h=3Dpre-CRLF2LF-c= leanup Leif Lindholm (7): ArmPkg: strip trailing whitespace ArmPlatformPkg: strip trailing whitespace BaseTools: strip trailing whitespace EmulatorPkg: strip trailing whitespace MdeModulePkg: strip trailing whitespace OvmfPkg: strip trailing whitespace UefiCpuPkg: strip trailing whitespace ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf = | 4 +- ArmPlatformPkg/Scripts/Ds5/profile.py = | 2 +- ArmPlatformPkg/Scripts/Makefile = | 2 +- BaseTools/Source/C/BrotliCompress/tools/brotli.c = | 2 +- BaseTools/Source/C/GNUmakefile = | 2 +- BaseTools/Source/C/LzmaCompress/Sdk/C/7zFile.c = | 20 ++--- BaseTools/Source/C/LzmaCompress/Sdk/C/7zTypes.h = | 4 +- BaseTools/Source/C/LzmaCompress/Sdk/C/Alloc.c = | 22 ++--- BaseTools/Source/C/LzmaCompress/Sdk/C/Bra.h = | 8 +- BaseTools/Source/C/LzmaCompress/Sdk/C/LzFind.c = | 70 ++++++++-------- BaseTools/Source/C/LzmaCompress/Sdk/C/LzFind.h = | 4 +- BaseTools/Source/C/LzmaCompress/Sdk/C/LzFindMt.c = | 40 ++++----- BaseTools/Source/C/LzmaCompress/Sdk/C/LzFindMt.h = | 4 +- BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.c = | 30 +++---- BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaDec.h = | 4 +- BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c = | 194 ++++++++++++++++++++++---------------------- BaseTools/Source/C/LzmaCompress/Sdk/C/Threads.c = | 6 +- BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-history.txt = | 92 ++++++++++----------- BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-sdk.txt = | 102 +++++++++++------------ BaseTools/Source/C/Makefiles/app.makefile = | 4 +- BaseTools/Source/C/Makefiles/footer.makefile = | 4 +- BaseTools/Source/C/Makefiles/header.makefile = | 8 +- BaseTools/Source/C/Makefiles/lib.makefile = | 2 +- BaseTools/Source/C/Makefiles/ms.common = | 4 +- BaseTools/Source/C/VfrCompile/GNUmakefile = | 6 +- BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_131.txt = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133.txt = | 286 ++++++++++++++++++++++++++++++++--------------------------------- BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133_BEFORE_MR13.txt = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/CHANGES_SUMMARY.txt = | 6 +- BaseTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS.txt = | 20 ++--- BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr.c = | 194 ++++++++++++++++++++++---------------------- BaseTools/Source/C/VfrCompile/Pccts/antlr/bits.c = | 10 +-- BaseTools/Source/C/VfrCompile/Pccts/antlr/build.c = | 18 ++--- BaseTools/Source/C/VfrCompile/Pccts/antlr/dumpcycles.c = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/egman.c = | 12 +-- BaseTools/Source/C/VfrCompile/Pccts/antlr/fcache.c = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/fset.c = | 16 ++-- BaseTools/Source/C/VfrCompile/Pccts/antlr/fset2.c = | 16 ++-- BaseTools/Source/C/VfrCompile/Pccts/antlr/gen.c = | 78 +++++++++--------- BaseTools/Source/C/VfrCompile/Pccts/antlr/generic.h = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/hash.c = | 10 +-- BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c = | 6 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/main.c = | 40 ++++----- BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/misc.c = | 42 +++++----- BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/pred.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/scan.c = | 4072 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++-----------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------ BaseTools/Source/C/VfrCompile/Pccts/dlg/automata.c = | 10 +-- BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg.h = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_a.c = | 950 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++++++++++++-----------------------------------= ------------------------------------------------------------------------ BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p.c = | 30 +++---- BaseTools/Source/C/VfrCompile/Pccts/dlg/main.c = | 10 +-- BaseTools/Source/C/VfrCompile/Pccts/dlg/makefile = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/dlg/output.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/dlg/relabel.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/dlg/support.c = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/h/AParser.cpp = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/h/AParser.h = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/h/ASTBase.cpp = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/h/ATokenBuffer.cpp = | 6 +- BaseTools/Source/C/VfrCompile/Pccts/h/DLG_stream_input.h = | 22 ++--- BaseTools/Source/C/VfrCompile/Pccts/h/DLexerBase.cpp = | 2 +- BaseTools/Source/C/VfrCompile/Pccts/h/PBlackBox.h = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/h/PCCTSAST.cpp = | 8 +- BaseTools/Source/C/VfrCompile/Pccts/h/antlr.h = | 10 +-- BaseTools/Source/C/VfrCompile/Pccts/h/ast.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/h/err.h = | 70 ++++++++-------- BaseTools/Source/C/VfrCompile/Pccts/history.txt = | 6 +- BaseTools/Source/C/VfrCompile/Pccts/support/genmk/genmk.c = | 14 ++-- BaseTools/Source/C/VfrCompile/Pccts/support/genmk/genmk_old.c = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/rexpr.c = | 46 +++++------ BaseTools/Source/C/VfrCompile/Pccts/support/set/set.c = | 46 +++++------ BaseTools/Source/C/VfrCompile/Pccts/support/set/set.h = | 4 +- BaseTools/Source/C/VfrCompile/Pccts/support/sym/sym.c = | 26 +++--- BaseTools/Source/Python/Ecc/Check.py = | 2 +- BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py = | 2 +- BaseTools/Source/Python/Makefile = | 2 +- EmulatorPkg/Readme.md = | 4 +- MdeModulePkg/Application/UiApp/FrontPageVfr.Vfr = | 8 +- MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerVfr.Vfr = | 2 +- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h = | 4 +- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/Bra.h = | 8 +- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzFind.c = | 70 ++++++++-------- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzFind.h = | 4 +- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzmaDec.c = | 30 +++---- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzmaDec.h = | 4 +- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/lzma-history.txt = | 92 ++++++++++----------- MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/lzma-sdk.txt = | 102 +++++++++++------------ MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthConfigureVfr.Vfr= | 6 +- MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerVfr.Vfr = | 4 +- MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/OnigurumaUefiPort.c = | 2 +- MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/OnigurumaUefiPort.h = | 2 +- MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/regexec.c = | 2 +- OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c = | 4 +- OvmfPkg/AcpiPlatformDxe/Xen.c = | 8 +- OvmfPkg/AcpiTables/Facs.aslc = | 6 +- OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.Vfr = | 18 ++--- OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen-x86_32.h = | 4 +- OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen-x86_64.h = | 4 +- OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen.h = | 4 +- OvmfPkg/Include/IndustryStandard/Xen/hvm/params.h = | 2 +- OvmfPkg/Include/IndustryStandard/Xen/io/protocols.h = | 2 +- OvmfPkg/Include/IndustryStandard/Xen/io/ring.h = | 34 ++++---- OvmfPkg/Include/IndustryStandard/Xen/memory.h = | 4 +- OvmfPkg/Include/IndustryStandard/Xen/xen-compat.h = | 4 +- OvmfPkg/Include/IndustryStandard/Xen/xen.h = | 10 +-- OvmfPkg/Include/Register/QemuSmramSaveStateMap.h = | 2 +- OvmfPkg/Library/DxePciLibI440FxQ35/PciLib.c = | 12 +-- OvmfPkg/Library/LockBoxLib/LockBoxDxe.c = | 2 +- OvmfPkg/Library/LockBoxLib/LockBoxLib.c = | 2 +- OvmfPkg/Library/LockBoxLib/LockBoxLib.h = | 2 +- OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.c = | 4 +- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c = | 2 +- OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.c = | 2 +- OvmfPkg/PlatformPei/Xen.c = | 2 +- OvmfPkg/SataControllerDxe/ComponentName.c = | 6 +- OvmfPkg/SataControllerDxe/SataController.c = | 214 ++++++++++++++++++++++++------------------------- OvmfPkg/SataControllerDxe/SataController.h = | 208 +++++++++++++++++++++++------------------------ OvmfPkg/SataControllerDxe/SataControllerDxe.inf = | 6 +- OvmfPkg/Sec/SecMain.c = | 34 ++++---- UefiCpuPkg/Application/Cpuid/Cpuid.c = | 2 +- 122 files changed, 3882 insertions(+), 3882 deletions(-) Cc: Andrew Fish Cc: Anthony Perard Cc: Ard Biesheuvel Cc: Bob Feng Cc: Dandan Bi Cc: David Woodhouse Cc: Eric Dong Cc: Hao A Wu Cc: Jian J Wang Cc: Jordan Justen Cc: Julien Grall Cc: Laszlo Ersek Cc: Liming Gao Cc: Ray Ni Cc: Zhichao Gao --=20 2.20.1