commit | a4f41144cbd16709af32d973aa5f0ab2110a1300 | [log] [tgz] |
---|---|---|
author | Venkat Devarasetty <vdevaras@codeaurora.org> | Mon Mar 25 23:37:45 2013 +0530 |
committer | Venkat Devarasetty <vdevaras@codeaurora.org> | Fri Apr 26 11:03:02 2013 +0530 |
tree | 4cec3392759cabcf9cc501684dd4e510103418ea | |
parent | 096c5dfc7c7926f5dbd9b69d9f3c1bf85fab7db2 [diff] |
msm: pm: avoid array overrun for msm_pm_sleep_modes The array is not defined for the maximum possible size. So it is possible that the array may overrun when it is dereferenced using MSM_PM_MODE macro. Add a dummy entry to make sure array is of max size. Change-Id: I5783b0aa6c8295c5c5aabcb498700c6af1a3eba5 Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>