[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502744496-17863-2-git-send-email-john.stultz@linaro.org>
Date: Mon, 14 Aug 2017 14:01:36 -0700
From: John Stultz <john.stultz@...aro.org>
To: lkml <linux-kernel@...r.kernel.org>
Cc: John Stultz <john.stultz@...aro.org>,
Shuah Khan <shuahkh@....samsung.com>,
Thomas Gleixner <tglx@...utronix.de>,
Stephen Boyd <sboyd@...eaurora.org>,
Miroslav Lichvar <mlichvar@...hat.com>,
linux-kselftest@...r.kernel.org
Subject: [RFC][PATCH 2/2] selftests: 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 zero at the end of main.
Cc: Shuah Khan <shuahkh@....samsung.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Stephen Boyd <sboyd@...eaurora.org>
Cc: Miroslav Lichvar <mlichvar@...hat.com>
Cc: linux-kselftest@...r.kernel.org
Signed-off-by: John Stultz <john.stultz@...aro.org>
---
tools/testing/selftests/timers/freq-step.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/timers/freq-step.c b/tools/testing/selftests/timers/freq-step.c
index f0d1323..51fcf7c 100644
--- a/tools/testing/selftests/timers/freq-step.c
+++ b/tools/testing/selftests/timers/freq-step.c
@@ -268,4 +268,6 @@ int main(int argc, char **argv)
ksft_exit_fail();
ksft_exit_pass();
+
+ return 0;
}
--
2.7.4
Powered by blists - more mailing lists