From patchwork Tue Jun 23 10:08:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 50215 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 80E42216E1 for ; Tue, 23 Jun 2015 10:11:35 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7sf1607971wgb.3 for ; Tue, 23 Jun 2015 03:11:34 -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=F9Kikiumde+/wFDrH+be5u7Zr8iXEAavkglFos2buafpaUIp3sxGOSFMHzcsh6O2FM ccKgQY/oq3kA+km4KxXLBSjQWNlQmRXq9qtXAaErpU8qRoh4CuAPMntDTKQlxTQMe9at bXEK72eI/5aR1x0lWzjcf4KdFyZFPQlQubmbE9xfYnPSlvCPPBmMNyfkSP9eEvPBerqq j+bJwk7WRONe61de/wNGF6hzxbCD37W9LkY6j1XDOsE0Z4rsD6k9iDnr7YJytXurzFkz mBewH193BMNAYmFRtVvRfkErchgf6vHy0crWgZdywb/xr8pw+2TtdnSfs4KiaBZSCzBh ABUw== X-Gm-Message-State: ALoCoQmRPz+P4OOfS78cSxDkliVMoySwxNioyvERukUr4Qq/CHYtjCUkpoZskTRwZ0gS8sqVw7wG X-Received: by 10.180.216.12 with SMTP id om12mr781373wic.1.1435054294756; Tue, 23 Jun 2015 03:11:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.71 with SMTP id t7ls27708lae.31.gmail; Tue, 23 Jun 2015 03:11:34 -0700 (PDT) X-Received: by 10.112.92.99 with SMTP id cl3mr14628267lbb.34.1435054294593; Tue, 23 Jun 2015 03:11:34 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id p10si18897044lae.91.2015.06.23.03.11.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 03:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lagi2 with SMTP id i2so3364397lag.2 for ; Tue, 23 Jun 2015 03:11:34 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr33607526lbc.41.1435054294362; Tue, 23 Jun 2015 03:11:34 -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 hn6csp2963974lbb; Tue, 23 Jun 2015 03:11:33 -0700 (PDT) X-Received: by 10.55.15.103 with SMTP id z100mr30214519qkg.7.1435054292919; Tue, 23 Jun 2015 03:11:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j30si21442329qgj.3.2015.06.23.03.11.31; Tue, 23 Jun 2015 03:11:32 -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 9130D61E0A; Tue, 23 Jun 2015 10:11:31 +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_H3, RCVD_IN_MSPIKE_WL, 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 6205261DBD; Tue, 23 Jun 2015 10:10:23 +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 790AC61F47; Tue, 23 Jun 2015 10:10:20 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by lists.linaro.org (Postfix) with ESMTPS id 51C1861EEB for ; Tue, 23 Jun 2015 10:08:57 +0000 (UTC) Received: by lagx9 with SMTP id x9so3331487lag.1 for ; Tue, 23 Jun 2015 03:08:56 -0700 (PDT) X-Received: by 10.112.212.9 with SMTP id ng9mr12750913lbc.57.1435054136081; Tue, 23 Jun 2015 03:08:56 -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 l3sm5415795lbj.46.2015.06.23.03.08.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jun 2015 03:08:55 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Tue, 23 Jun 2015 12:08:37 +0200 Message-Id: <1435054119-1216-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435054119-1216-1-git-send-email-christophe.milard@linaro.org> References: <1435054119-1216-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCHv2 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.215.45 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);