diff options
author | 2011-09-21 20:55:04 +0200 | |
---|---|---|
committer | 2011-10-16 23:27:46 +0200 | |
commit | 528f7ce6e439edeac38f6b3f8561f1be129b5e91 (patch) | |
tree | 6f03bc001aa170656f0d49f4f5afb6352027abaa /ipc/msgutil.c | |
parent | PM / Hibernate: Include storage keys in hibernation image on s390 (diff) | |
download | wireguard-linux-528f7ce6e439edeac38f6b3f8561f1be129b5e91.tar.xz wireguard-linux-528f7ce6e439edeac38f6b3f8561f1be129b5e91.zip |
PM / Suspend: Off by one in pm_suspend()
In enter_state() we use "state" as an offset for the pm_states[]
array. The pm_states[] array only has PM_SUSPEND_MAX elements so
this test is off by one.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions