diff options
author | Bob Moore <robert.moore@intel.com> | 2011-11-28 06:08:03 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 12:36:26 +0400 |
commit | 8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4 (patch) | |
tree | f59047f37083d5ea8ae134e327a082a92cc1ae91 /drivers | |
parent | 8931d9ea78848b073bf299594f148b83abde4a5e (diff) | |
download | linux-8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4.tar.xz |
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')
-rw-r--r-- | drivers/acpi/acpica/hwvalid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/hwvalid.c b/drivers/acpi/acpica/hwvalid.c index 5f1605874655..f8fbea947013 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; } |