• John Stultz's avatar
    kselftests: timers: freq-step: Fix build warning · 6cc63661
    John Stultz authored
    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: default avatarJohn Stultz <john.stultz@linaro.org>
    6cc63661
freq-step.c 6.16 KB