]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/timers: make loop consistent with array size
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 23 Aug 2017 16:07:05 +0000 (18:07 +0200)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 25 Aug 2017 16:00:51 +0000 (10:00 -0600)
commit12f104c671c1148e733f05935159b222d318c074
tree0fa52853dd9d15d99e701ca1947f9830c74d3feb
parente9495d6d6bab57e803eeeb758f6ddc0053ea8953
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 <benjamin.gaignard@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/timers/clocksource-switch.c