From: Lin Ming Date: Wed, 1 Jun 2011 15:54:02 +0000 (+0800) Subject: ACPI: Fixes device power states array overflow X-Git-Tag: v3.0~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d;p=pandora-kernel.git ACPI: Fixes device power states array overflow Commit 28c2103 added new state ACPI_STATE_D3_COLD, so the device power states array must be expanded by one also. v2: Use ACPI_D_STATE_COUNT instead of number 5 for the array size. Reported-by: Dan Carpenter Suggested-by: Oldřich Jedlička Signed-off-by: Lin Ming Signed-off-by: Len Brown --- Reading git-diff-tree failed