From patchwork Mon Aug 14 21:01:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 110062 Delivered-To: patches@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4843433qge; Mon, 14 Aug 2017 14:01:44 -0700 (PDT) X-Received: by 10.98.201.145 with SMTP id l17mr19981929pfk.145.1502744504763; Mon, 14 Aug 2017 14:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502744504; cv=none; d=google.com; s=arc-20160816; b=PWMK96BSNuFEOPLzguKFctdI/T4HkhJf/xGuVqIU++DXaAcGfLLRxShduLaTEqLNF2 UeY9HlNeopuUuWVx86B9xLBQOr8nHmvc1OEOUr6RJG2PQK+BVHirnHojdcHH4JW3RrVp m1Di1KUsgb9JhLpOx16+W2j76U353qOAjOXxj5xq/T2Yrq9ahMtgWGeKeeb5iMZYQga4 05nFWmvLTabFzCbsyXP89o6lH9kQc7/fgyj+jz8lykDczLmMOlJUWqHlwA7q0Evr7cMz aAlrnXY/dTuPc/e35VtNlz8EBr8V0C1sbxFuiOwPXPqohonZ0XpyMk4prruVTm6VKlf2 A9zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=aeRQknVN+QqybZAuipwNhbB2opVLIxN7ol0aXN9Qks4=; b=b7Ra3zM2WNbptQur9Jeo9CKCu/vijWHa2Lr+Y66XKHAwgICeb3CsnyRyy4kQ4rHhQY zwpN/QXOlznCPTjy+H2LpEbrO2j0BCiCnCb+nS2JkJR1hoQ6fd22tXSAoD5KLOIdzwpo suMACInV5EZshYNqqXcO1lICSIPskLuHXBTO3QcFHLht5L+/mLBBJO+3f2VfSrT2+1cB viufMJaAuJcFFgtcEByMFPZ8j4jpG8P1ycxsnKkblbDiABocUP7Ln43Rilt3dpFr0E5g J76g30G1AhJNaO2lYT4wQNLo1aK7+WtlFCRQVDDB0d0IjBar19NPwb/8WAxladLRmi8k u0RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ITqusjQu; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com. [2607:f8b0:400e:c05::230]) by mx.google.com with ESMTPS id 33si5108770plk.299.2017.08.14.14.01.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2017 14:01:44 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::230 as permitted sender) client-ip=2607:f8b0:400e:c05::230; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ITqusjQu; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x230.google.com with SMTP id u185so54360753pgb.1 for ; Mon, 14 Aug 2017 14:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aeRQknVN+QqybZAuipwNhbB2opVLIxN7ol0aXN9Qks4=; b=ITqusjQu2+LGT+h06kLAkMdQd/THzf5PL++zOsB8OUYhWnGNkNG7HxgbVgup4vDq4/ wD43jG2URy8lc1Tqv0E/2WxBB35GdJ29w8zGAy1iD5aVmHDOJ/7t7QfM4CuzI51uN4E7 IM5SdhaFgNtZhGyhAoNeyK11w5kCXmlVRngEE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aeRQknVN+QqybZAuipwNhbB2opVLIxN7ol0aXN9Qks4=; b=hCtqbd3/UOrLw8kdbf6cGjGklBh8tJtSswZTb0PSsEmSPul0G7K3aCvbHZfoGAf1rw oCECWNanhUZEFojtYScQeNxqZZYtjnUn1cTZeb/RT67PyVe+bfHcKiR7SnbgmY9F/APL 2d1RoMluKb6UtkrPQfNqBTXasZHrSd/MihOBiN/ynNiLd0cAsFVPMAjaTFV9v54t4Ujk VsyEYIcPTLwq1M0HMszzKkMoyqzPY0ELvxWPb87arvbd5Gbx/FpcxTvKUOrrlud4JGJ9 2RZcMttMUbvCLfC7VVaqqZ2HRdfbap9l6ZrCF/x0WAR4yWcLxBHchC8Qe3/YVxuvoLXM HtPA== X-Gm-Message-State: AHYfb5iFhiZ2K0hNUgbwYycXPFqAkN6ggqwqFgA6JeSUkgDxRHUIw8bV cgrtfrNoawA0kos55HM= X-Received: by 10.84.211.100 with SMTP id b91mr30191485pli.246.1502744503907; Mon, 14 Aug 2017 14:01:43 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id b184sm14263491pfb.53.2017.08.14.14.01.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 14:01:42 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Shuah Khan , Thomas Gleixner , Stephen Boyd , Miroslav Lichvar , linux-kselftest@vger.kernel.org Subject: [RFC][PATCH 2/2] selftests: timers: freq-step: Fix build warning Date: Mon, 14 Aug 2017 14:01:36 -0700 Message-Id: <1502744496-17863-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502744496-17863-1-git-send-email-john.stultz@linaro.org> References: <1502744496-17863-1-git-send-email-john.stultz@linaro.org> MIME-Version: 1.0 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 Cc: Thomas Gleixner Cc: Stephen Boyd Cc: Miroslav Lichvar Cc: linux-kselftest@vger.kernel.org Signed-off-by: John Stultz --- tools/testing/selftests/timers/freq-step.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 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; }