summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsdump.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-04-12 09:59:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-04-12 09:59:56 +0200
commitf456277ee15ff5d150191cb4a2f0181a8804c851 (patch)
treef8df5107185f42225fe7545702a9a5542e853449 /drivers/acpi/acpica/nsdump.c
parentc5781ffbbd4f742a58263458145fe7f0ac01d9e0 (diff)
parent6c6a828f86d67c157c7a2b26d46ebca0ed0d9c47 (diff)
Merge back ACPICA changes for v5.2.
Diffstat (limited to 'drivers/acpi/acpica/nsdump.c')
-rw-r--r--drivers/acpi/acpica/nsdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsdump.c b/drivers/acpi/acpica/nsdump.c
index 15070bd0c28a..1b12c172e115 100644
--- a/drivers/acpi/acpica/nsdump.c
+++ b/drivers/acpi/acpica/nsdump.c
@@ -70,7 +70,7 @@ void acpi_ns_print_pathname(u32 num_segments, const char *pathname)
acpi_os_printf("?");
}
- pathname += ACPI_NAME_SIZE;
+ pathname += ACPI_NAMESEG_SIZE;
num_segments--;
if (num_segments) {
acpi_os_printf(".");