diff options
| author | Lin Ming <[email protected]> | 2011-06-01 15:54:02 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2011-07-14 03:53:22 +0000 |
| commit | b4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d (patch) | |
| tree | 3bee07efb713e740f631f00e22989c7be1161c91 /lib/bitmap.c | |
| parent | Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po... (diff) | |
| download | kernel-b4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d.tar.gz kernel-b4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d.zip | |
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]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
