Ingo Molnar
4bf07f6562
timekeeping, clocksource: Fix various typos in comments
...
Fix ~56 single-word typos in timekeeping & clocksource code comments.
Signed-off-by: Ingo Molnar <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: John Stultz <[email protected] >
Cc: Stephen Boyd <[email protected] >
Cc: Daniel Lezcano <[email protected] >
Cc: [email protected]
2021-03-22 23:06:48 +01:00
Benjamin Gaignard
8f14e26b63
selftests/timers: make loop consistent with array size
...
clocksource_list array is defined as char [10][30] so
to initialise it we only have to iterate 10 times.
Signed-off-by: Benjamin Gaignard <[email protected] >
Signed-off-by: Shuah Khan <[email protected] >
2017-08-25 10:00:51 -06:00
Shuah Khan
b841065043
selftests: timers: drop support for !KTEST case
...
There is no need to keep timers tests in sync with external timers
repo. Drop support for !KTEST to support for building and running
timers tests without kselftest framework.
Reference: https://lkml.org/lkml/2017/8/10/952
Signed-off-by: Shuah Khan <[email protected] >
Acked-by: John Stultz <[email protected] >
2017-08-22 11:15:59 -06:00
Colin Ian King
05844f8313
selftests/timers: fix spelling mistake: "Asynchronous"
...
trivial fix to spelling mistake in printed message.
Signed-off-by: Colin Ian King <[email protected] >
Signed-off-by: Shuah Khan <[email protected] >
2017-04-13 15:51:17 -06:00
Andrzej Hajda
3b44edaaa1
selftests/timers: fix write return value handlng
...
The function can return negative value.
The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
Signed-off-by: Andrzej Hajda <[email protected] >
Signed-off-by: John Stultz <[email protected] >
2015-12-10 22:41:05 -08:00
John Stultz
7290ce1423
selftests/timers: Add clocksource-switch test from timetest suite
...
Adds the clocksource-switch tests which continually switches the
current clocksource between all the available ones, watching for
any timekeeping inconsistencies.
Cc: Shuah Khan <[email protected] >
Cc: Prarit Bhargava <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Richard Cochran <[email protected] >
Signed-off-by: John Stultz <[email protected] >
Tested-by: Prarit Bhargava <[email protected] >
Signed-off-by: Shuah Khan <[email protected] >
2015-03-12 13:22:15 -06:00