diff options
| author | Naresh Malladi <namall@codeaurora.org> | 2017-07-03 15:53:48 +0530 |
|---|---|---|
| committer | Naresh Malladi <namall@codeaurora.org> | 2017-07-03 17:39:35 +0530 |
| commit | 346f6aa7001855b35bd47e96d2a00a08bb8d324a (patch) | |
| tree | fbe18fa95c454b4a7e88e13dfbd80fce236eca8c /kernel/locking/mutex-debug.c | |
| parent | bc399a65c4e048d98b6304272e32402bfca59dda (diff) | |
cpuidle: lpm-levels: Check for negative sleep times
A negative sleep time could be interpreted as a large positive sleep
time when its casted to a unsigned type. This could result in CPU sleeping
for a longer than expected duration resulting in missed interrupts.
Change-Id: I472f355c8ba392ab46d53fceddb448f7e35c178e
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
