public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] OvmfPkg: cosmetic fixes
@ 2016-09-09 23:28 Laszlo Ersek
  2016-09-09 23:28 ` [PATCH 1/3] OvmfPkg/IndustryStandard: make "Xen/grant_table.h" pure ASCII Laszlo Ersek
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Laszlo Ersek @ 2016-09-09 23:28 UTC (permalink / raw)
  To: edk2-devel-01; +Cc: Jordan Justen, Thomas Huth

Patch #3 was submitted by Thomas originally, and it was good, but it
showed me that "OvmfPkg/Library/NvVarsFileLib/FsAccess.c" had LF line
terminators actually. So I ran the following command, and went through
the output:

  file $(find OvmfPkg/ -type f) | sort -t : -k 2b

The command found the following types:

  #1  ASCII text, with CRLF line terminators
  #2  C source, ASCII text
  #3  C source, ASCII text, with CRLF line terminators
  #4  C source, UTF-8 Unicode text, with CRLF line terminators
  #5  POSIX shell script, ASCII text executable
  #6  Python script, ASCII text executable, with CRLF line terminators
  #7  a /usr/bin/env bash script, ASCII text executable

>From these, types #2 and #4 are problematic, so I added two patches in
front of Thomas's to eliminate those file types (by converting the
files).

(I also ran the command on ArmVirtPkg, it was fine.)

Public branch: <https://github.com/lersek/edk2/commits/cosmetic_fixes>.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Thomas Huth <thuth@redhat.com>

Thanks
Laszlo

Laszlo Ersek (2):
  OvmfPkg/IndustryStandard: make "Xen/grant_table.h" pure ASCII
  OvmfPkg: convert C files with LF line terminators to CRLF

Thomas Huth (1):
  OvmfPkg: Fix typing errors

 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c              |    2 +-
 OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c           |    4 +-
 OvmfPkg/Include/IndustryStandard/Xen/grant_table.h   |    2 +-
 OvmfPkg/Library/NvVarsFileLib/FsAccess.c             | 1034 ++++++++++----------
 OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.c        |  166 ++--
 OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.h        |  122 +--
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c |    8 +-
 OvmfPkg/PlatformPei/MemDetect.c                      |    2 +-
 OvmfPkg/QemuVideoDxe/VbeShim.c                       |    2 +-
 OvmfPkg/SmbiosPlatformDxe/X86Xen.c                   |  196 ++--
 OvmfPkg/VirtioRngDxe/VirtioRng.h                     |   92 +-
 OvmfPkg/XenBusDxe/EventChannel.c                     |    2 +-
 OvmfPkg/XenBusDxe/XenStore.c                         |    2 +-
 OvmfPkg/XenPvBlkDxe/BlockIo.c                        |    2 +-
 14 files changed, 818 insertions(+), 818 deletions(-)

-- 
2.9.2



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-12 11:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 23:28 [PATCH 0/3] OvmfPkg: cosmetic fixes Laszlo Ersek
2016-09-09 23:28 ` [PATCH 1/3] OvmfPkg/IndustryStandard: make "Xen/grant_table.h" pure ASCII Laszlo Ersek
2016-09-12  6:43   ` Thomas Huth
2016-09-09 23:28 ` [PATCH 2/3] OvmfPkg: convert C files with LF line terminators to CRLF Laszlo Ersek
2016-09-12  6:49   ` Thomas Huth
2016-09-12 11:23     ` Laszlo Ersek
2016-09-09 23:28 ` [PATCH 3/3] OvmfPkg: Fix typing errors Laszlo Ersek
2016-09-10  0:17 ` [PATCH 0/3] OvmfPkg: cosmetic fixes Jordan Justen

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