From patchwork Sat Jun 7 11:43:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 31511 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE4C12100A for ; Sat, 7 Jun 2014 11:43:30 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id l6sf21263525oag.7 for ; Sat, 07 Jun 2014 04:43:29 -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:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=scqOEHf98MEkgHNjp7iJEKkxU4hKWA1j218T3qkLp4c=; b=mH+oRnYn0hYr03N6OgZfSDDOgBwmsdJLWtU8Zi7KvWrvridTl8dU6TBTpsre3ZlvZ/ nxVnTE85tGv9dw9u864ecgcwHuyVxfXDucXKZFKT4EMXwlg2O6k1W37m6DdF9zeB001d DZd3RTki6OSttRH5voSkGT+LLNe2HD2mgaV6oW60dFL3DNnrPjyoN026fJAnqVhdbGf8 va6yWZZW+8mTp3C8Zu/O0WkCbUdt6k5o9TfO75x3XNQ3JDtTt7mO53uEXGR0UB15H05i wZ5JcC9TbkA36FXipmUidjw0lStdIaWuYwgeOHES48MGBr1pOUmBat630etyHOB/4mDl TgWQ== X-Gm-Message-State: ALoCoQnIWHeyHdfpKhgKFeL/YLcmDo9aa9ErtgsC/3EtEHgEYeytv9T02lOWZWE5AoN11479cOQn X-Received: by 10.182.121.232 with SMTP id ln8mr6717355obb.11.1402141409750; Sat, 07 Jun 2014 04:43:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.4 with SMTP id 4ls990196qgy.39.gmail; Sat, 07 Jun 2014 04:43:29 -0700 (PDT) X-Received: by 10.52.162.168 with SMTP id yb8mr10501987vdb.22.1402141409614; Sat, 07 Jun 2014 04:43:29 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id em3si8812272veb.76.2014.06.07.04.43.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Jun 2014 04:43:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id us18so2468702veb.6 for ; Sat, 07 Jun 2014 04:43:29 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr10561832vca.45.1402141409497; Sat, 07 Jun 2014 04:43:29 -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.221.54.6 with SMTP id vs6csp15671vcb; Sat, 7 Jun 2014 04:43:29 -0700 (PDT) X-Received: by 10.229.2.200 with SMTP id 8mr17515430qck.10.1402141409079; Sat, 07 Jun 2014 04:43:29 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id a8si17131362qae.1.2014.06.07.04.43.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 07 Jun 2014 04:43:29 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WtF0a-0005GT-RN; Sat, 07 Jun 2014 11:42:00 +0000 Received: from mail-we0-f182.google.com ([74.125.82.182]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WtF0U-0005GE-NI for lng-odp@lists.linaro.org; Sat, 07 Jun 2014 11:41:54 +0000 Received: by mail-we0-f182.google.com with SMTP id t60so3815838wes.41 for ; Sat, 07 Jun 2014 04:43:16 -0700 (PDT) X-Received: by 10.194.216.162 with SMTP id or2mr15581690wjc.0.1402141396367; Sat, 07 Jun 2014 04:43:16 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id l5sm2788174wif.22.2014.06.07.04.43.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Jun 2014 04:43:15 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Sat, 7 Jun 2014 14:43:05 +0300 Message-Id: <1402141387-22058-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Topics: timers patch Cc: linaro-networking@linaro.org Subject: [lng-odp] [PATCH] linux-generic: timer: Do not expect odp_timer_tmo_t to be integer X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@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.128.175 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 Signed-off-by: Taras Kondratiuk --- platform/linux-generic/source/odp_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/source/odp_timer.c b/platform/linux-generic/source/odp_timer.c index 6fb5025..85369d3 100644 --- a/platform/linux-generic/source/odp_timer.c +++ b/platform/linux-generic/source/odp_timer.c @@ -133,7 +133,7 @@ int odp_timer_cancel_tmo(odp_timer_t timer, odp_timer_tmo_t tmo) /* search and delete tmo from tick list */ if (find_and_del_tmo(&tick->list, tmo) != 0) { odp_spinlock_unlock(&tick->lock); - ODP_DBG("Couldn't find the tmo (%d) in tick list\n", tmo); + ODP_DBG("Couldn't find the tmo (%d) in tick list\n", (int)tmo); return -1; } odp_spinlock_unlock(&tick->lock);