kselftests: timers: freq-step: Fix build warning
authorJohn Stultz <john.stultz@linaro.org>
Mon, 14 Aug 2017 20:57:34 +0000 (13:57 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 17 Aug 2017 19:14:48 +0000 (12:14 -0700)
commit6cc636614e144b7cb4c6578bce5cc9b76b7c11e7
tree6800103e78686e699b201037aa6f080a4034473f
parent0aeab46ed8bde9e5850b2558b99307633093d0a2
kselftests: timers: freq-step: Fix build warning

Fixes the following build warning:
freq-step.c: In function ‘main’:
freq-step.c:271:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

By returning the return values from ksft_success/fail.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
tools/testing/selftests/timers/freq-step.c