aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorSasha Levin <[email protected]>2014-12-02 04:04:06 +0000
committerJohn Stultz <[email protected]>2015-05-22 16:12:22 +0000
commit6f7d79849a00bba82d3139ff91ff2aaabd12841e (patch)
treea211e8c8361e64c638f9bcc1131739a79585af7a /drivers/clocksource/qcom-timer.c
parentjiffies: Remove the extra indentation level (diff)
downloadkernel-6f7d79849a00bba82d3139ff91ff2aaabd12841e.tar.gz
kernel-6f7d79849a00bba82d3139ff91ff2aaabd12841e.zip
time: Make sure tz_minuteswest is set to a valid value when setting time
Invalid values may overflow later, leading to undefined behaviour when multiplied by 60 to get the amount of seconds. Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions