summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2022-02-04 07:10:11 -0800
committerGitHub <noreply@github.com>2022-02-04 07:10:11 -0800
commitc7de0c217e072fe11bcc74b4745b9df58c51df9e (patch)
tree7f2da0aad5d14f7b9b2d95c04dc417142e65235b
parent257dc9f5ce392fb0bb34fd363d1c248204a51c5b (diff)
parenta127d0202b07f317b7fc50d433f7c6429e56623d (diff)
downloadacpica-c7de0c217e072fe11bcc74b4745b9df58c51df9e.tar.gz
Merge pull request #748 from pmaziarz/master
iASL: NHLT: Fix variable shadowing
-rw-r--r--source/common/dmtbdump2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/common/dmtbdump2.c b/source/common/dmtbdump2.c
index b7f619fe6..6e33ad066 100644
--- a/source/common/dmtbdump2.c
+++ b/source/common/dmtbdump2.c
@@ -1757,12 +1757,12 @@ AcpiDmDumpNhlt (
if (CapabilitiesSize > 0)
{
- UINT8* Capabilities = ACPI_ADD_PTR (UINT8, Table, Offset);
+ UINT8* CapabilitiesBuf = ACPI_ADD_PTR (UINT8, Table, Offset);
/* Do the Capabilities array (of bytes) */
AcpiOsPrintf ("\n /* Specific_Config table #%u */\n", j+1);
- Status = AcpiDmDumpTable (TableLength, Offset, Capabilities,
+ Status = AcpiDmDumpTable (TableLength, Offset, CapabilitiesBuf,
CapabilitiesSize, AcpiDmTableInfoNhlt3a);
if (ACPI_FAILURE (Status))
{