]> Git Repo - linux.git/commit
ACPI: Fixes device power states array overflow
authorLin Ming <[email protected]>
Wed, 1 Jun 2011 15:54:02 +0000 (23:54 +0800)
committerLen Brown <[email protected]>
Thu, 14 Jul 2011 03:53:22 +0000 (23:53 -0400)
commitb4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d
tree3bee07efb713e740f631f00e22989c7be1161c91
parent8d86e5f91440aa56a5df516bf58fe3883552ad56
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 <[email protected]>
Suggested-by: Oldřich Jedlička <[email protected]>
Signed-off-by: Lin Ming <[email protected]>
Signed-off-by: Len Brown <[email protected]>
include/acpi/acpi_bus.h
This page took 0.053013 seconds and 4 git commands to generate.