ACPICA: macros: fix ACPI_ERROR_NAMESPACE macro
authorErik Schmauss <erik.schmauss@intel.com>
Wed, 14 Mar 2018 23:13:05 +0000 (16:13 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 18 Mar 2018 17:52:00 +0000 (18:52 +0100)
commit0fe0bebf5fb905ae682b1ecfd0b51b3a89e45ee6
treed466b2bbeca9fcf3c076605a253c2906b8a9d5f6
parent34f206fd757c5061a67d879a74c300fafc34defb
ACPICA: macros: fix ACPI_ERROR_NAMESPACE macro

Fixing the ACPI_ERROR_NAMESPACE macros created an "unused variable"
compile error when ACPI_NO_ERROR_MESSAGES was defined. This commit
also fixes the above compilation errors by surrounding variables
meant for debugging inside a new ACPI_ERROR_ONLY macro.

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/evgpeblk.c
drivers/acpi/acpica/psobject.c
drivers/acpi/acpica/tbinstal.c