From: Bob Moore Date: Mon, 28 Nov 2011 02:08:03 +0000 (+0800) Subject: ACPICA: Add error msg for unsupported I/O requests (not 8/16/32 bit length) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4;p=mv-sheeva.git ACPICA: Add error msg for unsupported I/O requests (not 8/16/32 bit length) Found during ACPICA debugging. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- diff --git a/drivers/acpi/acpica/hwvalid.c b/drivers/acpi/acpica/hwvalid.c index 5f160587465..f8fbea94701 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; }