From patchwork Wed Feb 17 15:34:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 62116 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp68254lbl; Wed, 17 Feb 2016 07:35:14 -0800 (PST) X-Received: by 10.140.222.18 with SMTP id s18mr2761902qhb.21.1455723314313; Wed, 17 Feb 2016 07:35:14 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g67si46600566qgg.60.2016.02.17.07.35.13; Wed, 17 Feb 2016 07:35:14 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B8DFA61794; Wed, 17 Feb 2016 15:35:13 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=ZN4JylF6; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E3E166177C; Wed, 17 Feb 2016 15:35:10 +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 E3E626177C; Wed, 17 Feb 2016 15:35:05 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by lists.linaro.org (Postfix) with ESMTPS id EBCFA61753 for ; Wed, 17 Feb 2016 15:35:04 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id 78so13271625lfy.3 for ; Wed, 17 Feb 2016 07:35:04 -0800 (PST) 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; bh=6QsviMlP+vELX3B1HW97HLvhZ6DypF3hGXUhw7aMf5c=; b=ZN4JylF6zXsrn6HN512HJOsrMbkPi+JpeigEp2kGlJ/93eCJmVKLm/HFS6dq+0UZ0J z6umAJSpJ6ZdtNCTgBu1X4vhGhXG/jxKT6JNake9PbA81W8/uW7/atGCAQwL0pBtSPLy G9nq4KvW9mTQzUtW+FZOYIKooR7j06vUJy6es= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6QsviMlP+vELX3B1HW97HLvhZ6DypF3hGXUhw7aMf5c=; b=dRHxDB6+KG+vpHwXzrIzkiYJeykydej8A+f2a9134ws/pDjhZfGYr3RI8+MoBOJ/4c i2gG3K6S0Xexz9DV8PGCV2MKUQIOcUw+GPtwe89JDW+nQWCzFyagjhDapFG7V1/uYeBK mVk5vvCSiKy39p8Vmh7DB2P5PXg5UdiYggmLWN9+3PiK+H2BM9fHf4+OKqDaF2+e/G/R aoMPgvv7NPIzy1EbioNKcwMo/JvZf+zXcgs3eTOZ5OmYgP2DEMSvi9SIYXsrYwXG99oH iB1Ea5ljdfZAH6ybdI0soT6e9l0E97hfVIiFDmXZwABW36r7GIwahVnHFn97x9hraWg5 OBmA== X-Gm-Message-State: AG10YOT6tmfUdU2KfrZoYZlnNrHVjZINnm7AuK6REa3VWAHdQw6Px34P+1cBIwxFxiCSAN83A1U= X-Received: by 10.25.16.214 with SMTP id 83mr1085677lfq.13.1455723303914; Wed, 17 Feb 2016 07:35:03 -0800 (PST) Received: from localhost.localdomain ([195.238.92.128]) by smtp.gmail.com with ESMTPSA id j205sm286208lfd.0.2016.02.17.07.35.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Feb 2016 07:35:02 -0800 (PST) From: Ivan Khoronzhuk To: lng-odp@lists.linaro.org Date: Wed, 17 Feb 2016 17:34:55 +0200 Message-Id: <1455723295-21935-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <56C4868C.5090501@linaro.org> References: <56C4868C.5090501@linaro.org> X-Topics: patch Cc: petri.savolainen@nokia.com Subject: [lng-odp] [API-NEXT PATCH] api: time: fix typo for cmp function X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" Signed-off-by: Ivan Khoronzhuk Signed-off-by: Zoltan Kiss --- include/odp/api/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/odp/api/time.h b/include/odp/api/time.h index efc5478..85692ec 100644 --- a/include/odp/api/time.h +++ b/include/odp/api/time.h @@ -119,7 +119,9 @@ odp_time_t odp_time_global_from_ns(uint64_t ns); * @param t2 Second time * @param t1 First time * - * @retval <0 if t2 < t1, >0 if t1 = t2, 1 if t2 > t1 + * @retval <0 when t2 < t1 + * @retval 0 when t2 == t1 + * @retval >0 when t2 > t1 */ int odp_time_cmp(odp_time_t t2, odp_time_t t1);