mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-14 17:14:09 +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
@ -134,6 +134,8 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)
|
|||||||
/* Supported widths are 8/16/32 */
|
/* Supported widths are 8/16/32 */
|
||||||
|
|
||||||
if ((bit_width != 8) && (bit_width != 16) && (bit_width != 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;
|
return AE_BAD_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user