aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dbnames.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2018-06-01 12:06:40 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-06 08:53:42 +0200
commit1387cdd8cddac6f7b3964e9d76d28b909fd85c29 (patch)
treeb63dafb95f16a9f54d849ada949b11f457597099 /drivers/acpi/acpica/dbnames.c
parentACPICA: IORT: Add PMCG node supprt (diff)
downloadlinux-stable-1387cdd8cddac6f7b3964e9d76d28b909fd85c29.tar.xz
linux-stable-1387cdd8cddac6f7b3964e9d76d28b909fd85c29.zip
ACPICA: Debugger: Add count of namespace nodes after namespace dump
A bit of additional information which is usefull during debug. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dbnames.c')
-rw-r--r--drivers/acpi/acpica/dbnames.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/dbnames.c b/drivers/acpi/acpica/dbnames.c
index dc94de91033e..992bd7b92540 100644
--- a/drivers/acpi/acpica/dbnames.c
+++ b/drivers/acpi/acpica/dbnames.c
@@ -322,6 +322,7 @@ acpi_db_walk_and_match_name(acpi_handle obj_handle,
acpi_os_printf("Could Not get pathname for object %p\n",
obj_handle);
} else {
+ info.count = 0;
info.owner_id = ACPI_OWNER_ID_MAX;
info.debug_level = ACPI_UINT32_MAX;
info.display_type = ACPI_DISPLAY_SUMMARY | ACPI_DISPLAY_SHORT;