From patchwork Mon Jun 22 16:02:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 50173 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B561721594 for ; Mon, 22 Jun 2015 16:04:55 +0000 (UTC) Received: by wgfj7 with SMTP id j7sf42362037wgf.1 for ; Mon, 22 Jun 2015 09:04:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=lZig1NJCqJG2Dwl61RhNrUx2tAMJPrsNekGoTj+mzVo=; b=H5j+S4Dp23HV5A7tvKtxB7Dc9T/vtGFK+ef0Qsei7JlKFK+Lf6ZF/rDIFv13sPn4lK DydAlV0UNWDDgO9VaoEVEhhjZxJeAqAkXNQIEI2v8qLoJhrL73As5Ot+bmYPsV8kwz5M UnNCW9qGzN0Rp97NNw6JVOTCljWHsKaD3ey9xFaJUfjvHioh1FxM1tUknLkTBdwBFQD3 /5pb5OSRUiZcDs8yWx1uVsIt9lba8aqWV8RRAb8tbvUAoWqVXhcp/E/TDe27z+b4YSyP xM6e0Axd3Q1OJRlD/dC+f0sS4/4PgvmaarGdvOun6nGiQEAZr5MjWmS6kznw02FMjfzN mQXA== X-Gm-Message-State: ALoCoQkb2DEM+BYXsju4kWdgusu6n9uoBT3BPdLi8hvAROGatbyAe9/eJ0x5+gwTsOmsRRJ4kMrl X-Received: by 10.112.53.102 with SMTP id a6mr28520091lbp.16.1434989094757; Mon, 22 Jun 2015 09:04:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.73 with SMTP id y9ls788930lay.18.gmail; Mon, 22 Jun 2015 09:04:54 -0700 (PDT) X-Received: by 10.152.6.132 with SMTP id b4mr29564929laa.53.1434989094612; Mon, 22 Jun 2015 09:04:54 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id qf8si16869572lbb.91.2015.06.22.09.04.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 09:04:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbnk3 with SMTP id k3so5665245lbn.1 for ; Mon, 22 Jun 2015 09:04:54 -0700 (PDT) X-Received: by 10.153.5.38 with SMTP id cj6mr703748lad.36.1434989094383; Mon, 22 Jun 2015 09:04:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2484030lbb; Mon, 22 Jun 2015 09:04:53 -0700 (PDT) X-Received: by 10.55.15.91 with SMTP id z88mr54072589qkg.87.1434989093082; Mon, 22 Jun 2015 09:04:53 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x10si5905279qkx.98.2015.06.22.09.04.52; Mon, 22 Jun 2015 09:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 4A42961E18; Mon, 22 Jun 2015 16:04:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E81B361DE2; Mon, 22 Jun 2015 16:03:55 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B058561DE2; Mon, 22 Jun 2015 16:03:52 +0000 (UTC) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by lists.linaro.org (Postfix) with ESMTPS id 9D5BC61DE2 for ; Mon, 22 Jun 2015 16:03:25 +0000 (UTC) Received: by lbbvz5 with SMTP id vz5so63673091lbb.0 for ; Mon, 22 Jun 2015 09:03:24 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr31154367laa.106.1434989004619; Mon, 22 Jun 2015 09:03:24 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by mx.google.com with ESMTPSA id v16sm545043lal.41.2015.06.22.09.03.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 09:03:23 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Mon, 22 Jun 2015 18:02:58 +0200 Message-Id: <1434988980-14008-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434988980-14008-1-git-send-email-christophe.milard@linaro.org> References: <1434988980-14008-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 3/5] validation: cosmetic fixes in odp_time.c X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Preparing for the next patch where this file is moved and check-patch would yell if these things were still there. Signed-off-by: Christophe Milard --- test/validation/odp_time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/odp_time.c b/test/validation/odp_time.c index 3005a26..f2debb7 100644 --- a/test/validation/odp_time.c +++ b/test/validation/odp_time.c @@ -34,6 +34,7 @@ static void system_test_odp_cycles_diff(void) static void system_test_odp_cycles_negative_diff(void) { uint64_t diff, cycles1, cycles2; + cycles1 = 10; cycles2 = 5; diff = odp_time_diff_cycles(cycles1, cycles2); @@ -45,6 +46,7 @@ static void system_test_odp_time_conversion(void) { uint64_t ns1, ns2, cycles; uint64_t upper_limit, lower_limit; + ns1 = 100; cycles = odp_time_ns_to_cycles(ns1); CU_ASSERT(cycles > 0);