aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-stm32.c
diff options
context:
space:
mode:
authorGreg Hackmann <[email protected]>2017-07-25 14:36:25 -0700
committerJohn Stultz <[email protected]>2017-08-17 12:14:54 -0700
commita524b1184b8e86141d689fa78ad150fbf2db9b4c (patch)
treeebe21487f001389f797603090483e7cc2c233550 /drivers/clocksource/timer-stm32.c
parent6cc636614e144b7cb4c6578bce5cc9b76b7c11e7 (diff)
kselftests: timers: set-timer-lat: Tweak reporting when timer fires early
Rather than printing an error inside the alarm signal handler, set a flag that we check later. This keeps the test from spamming the console every time the alarm fires early. It also fixes the test exiting with error code 0 if this was the only test failure. Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Miroslav Lichvar <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Shuah Khan <[email protected]> Cc: [email protected] Signed-off-by: Greg Hackmann <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions