diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-02-27 07:37:15 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-02 01:46:05 +0400 |
commit | b355cee88e3b1a193f0e9a81db810f6f83ad728b (patch) | |
tree | b7021517f72490d68e3ae56df29f2388744f620e /CREDITS | |
parent | 6c09ea49ceb8a3b2b709718f6acdb1edd92ea899 (diff) | |
download | linux-b355cee88e3b1a193f0e9a81db810f6f83ad728b.tar.xz |
ACPI / resources: ignore invalid ACPI device resources
ACPI table may export resource entry with 0 length.
But the current code interprets this kind of resource in a wrong way.
It will create a resource structure with
res->end = acpi_resource->start + acpi_resource->len - 1;
This patch fixes a problem on my machine that a platform device fails
to be created because one of its ACPI IO resource entry (start = 0,
end = 0, length = 0) is translated into a generic resource with
start = 0, end = 0xffffffff.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions