mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
8931d9ea78
commit
8519bc9f1e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue