From b36fbd364588178bc71f3642b5a09d14fe9ae5f7 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 17 Apr 2020 17:37:46 +0200 Subject: [PATCH] OvmfPkg/ResetSystemLib: wrap long lines MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Wrap the source code and the INF file at 79 characters. Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Philippe Mathieu-Daudé Cc: Rebecca Cran Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2675 Signed-off-by: Laszlo Ersek Message-Id: <20200417153751.7110-2-lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Ard Biesheuvel Reviewed-by: Rebecca Cran --- .../Library/ResetSystemLib/ResetSystemLib.c | 20 ++++++++++--------- .../Library/ResetSystemLib/ResetSystemLib.inf | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 2f2e1293a3..b3abda80e7 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -103,10 +103,11 @@ ResetShutdown ( /** This function causes a systemwide reset. The exact type of the reset is - defined by the EFI_GUID that follows the Null-terminated Unicode string passed - into ResetData. If the platform does not recognize the EFI_GUID in ResetData - the platform must pick a supported reset type to perform.The platform may - optionally log the parameters from any non-normal reset that occurs. + defined by the EFI_GUID that follows the Null-terminated Unicode string + passed into ResetData. If the platform does not recognize the EFI_GUID in + ResetData the platform must pick a supported reset type to perform.The + platform may optionally log the parameters from any non-normal reset that + occurs. @param[in] DataSize The size, in bytes, of ResetData. @param[in] ResetData The data buffer starts with a Null-terminated string, @@ -128,11 +129,12 @@ ResetPlatformSpecific ( @param[in] ResetType The type of reset to perform. @param[in] ResetStatus The status code for the reset. @param[in] DataSize The size, in bytes, of ResetData. - @param[in] ResetData For a ResetType of EfiResetCold, EfiResetWarm, or EfiResetShutdown - the data buffer starts with a Null-terminated string, optionally - followed by additional binary data. The string is a description - that the caller may use to further indicate the reason for the - system reset. + @param[in] ResetData For a ResetType of EfiResetCold, EfiResetWarm, or + EfiResetShutdown the data buffer starts with a + Null-terminated string, optionally followed by + additional binary data. The string is a description + that the caller may use to further indicate the + reason for the system reset. **/ VOID EFIAPI diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf index 2f24dac87f..063dc49f24 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf @@ -15,7 +15,8 @@ LIBRARY_CLASS = ResetSystemLib # -# The following information is for reference only and not required by the build tools. +# The following information is for reference only and not required by the build +# tools. # # VALID_ARCHITECTURES = IA32 X64 # -- 2.39.2