From 748c1efd1e0d934c68b6dafd3011aee47c25ad57 Mon Sep 17 00:00:00 2001 From: Krzysztof Koch Date: Mon, 22 Jul 2019 15:50:24 -0700 Subject: ShellPkg: acpiview: SRAT: Minor code style enhancements Minor changes to the SRAT parser code to conform with the EDKII coding style and to make it consistent with other ACPI table parsers. Signed-off-by: Krzysztof Koch Reviewed-by: Sami Mujawar Reviewed-by: Jaben Carsey Reviewed-by: Zhichao Gao --- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c index 03d28d5284..59c77401ea 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c @@ -206,6 +206,7 @@ ParseAcpiSrat ( AcpiTableLength, PARSER_PARAMS (SratParser) ); + ResourcePtr = Ptr + Offset; while (Offset < AcpiTableLength) { @@ -250,7 +251,7 @@ ParseAcpiSrat ( ResourcePtr, *SratRALength, PARSER_PARAMS (SratGicITSAffinityParser) - ); + ); break; case EFI_ACPI_6_2_MEMORY_AFFINITY: -- cgit v1.2.3