summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwvalid.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-11-28 10:08:03 +0800
committerLen Brown <len.brown@intel.com>2012-01-17 03:36:26 -0500
commit8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4 (patch)
treef59047f37083d5ea8ae134e327a082a92cc1ae91 /drivers/acpi/acpica/hwvalid.c
parent8931d9ea78848b073bf299594f148b83abde4a5e (diff)
downloadop-kernel-dev-8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4.zip
op-kernel-dev-8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4.tar.gz
ACPICA: Add error msg for unsupported I/O requests (not 8/16/32 bit length)
Found during ACPICA debugging. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/hwvalid.c')
-rw-r--r--drivers/acpi/acpica/hwvalid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/hwvalid.c b/drivers/acpi/acpica/hwvalid.c
index 5f16058..f8fbea9 100644
--- a/drivers/acpi/acpica/hwvalid.c
+++ b/drivers/acpi/acpica/hwvalid.c
@@ -134,6 +134,8 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)
/* Supported widths are 8/16/32 */
if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) {
+ ACPI_ERROR((AE_INFO,
+ "Bad BitWidth parameter: %8.8X", bit_width));
return AE_BAD_PARAMETER;
}
OpenPOWER on IntegriCloud