From patchwork Fri Feb 27 23:04:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 45269 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8987620674 for ; Fri, 27 Feb 2015 23:05:42 +0000 (UTC) Received: by labhs14 with SMTP id hs14sf1194115lab.0 for ; Fri, 27 Feb 2015 15:05:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=tBiBcN3AyDhJJU8D4ZxC+ER0pBQgp9RY70vckkETilY=; b=ego+3h+u0VDZiKXTq2WdwkCLKa5woDr2KTteufe2XwsRS0Y6aBW+11+AV6N3dB/44Z K/n6AOvaAiNNrkzJiufPFSsFsUnZ34Lj+5ybW4O92PJxMp2EJVPO99ehowQ4ktczrlGp ftYgFp8GQD93/cO9ZxmxCITQUe/Xv/VYhNyC9wgFQ3mcp6xZMY0izJuFdlxDNp1axAqH cGqmk2TVB8TdGGFqxPfALHajNStgz0U3g8gb8sAHn0imKMQGLQn7XiWW8w64pTf+zppX v3GxOEdA7/7iBQSAM9n0iJZHkY8ZMQmu/oXd1K6D3aHS6tGNZyrd4tNeBC4hNQ22FpXU WH8Q== X-Gm-Message-State: ALoCoQm+XUocnYlQbZ1SfHuy5rl2ppZSEg17EKevhPH4gTnRjGLYrygTVPaZ7zsqGaZhsAJihWMm X-Received: by 10.152.4.229 with SMTP id n5mr2397902lan.1.1425078341510; Fri, 27 Feb 2015 15:05:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.201 with SMTP id m9ls238168lah.6.gmail; Fri, 27 Feb 2015 15:05:41 -0800 (PST) X-Received: by 10.152.5.129 with SMTP id s1mr14672967las.105.1425078341233; Fri, 27 Feb 2015 15:05:41 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id gj8si3884647lbc.131.2015.02.27.15.05.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 15:05:41 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labgf13 with SMTP id gf13so20371721lab.9 for ; Fri, 27 Feb 2015 15:05:41 -0800 (PST) X-Received: by 10.152.28.5 with SMTP id x5mr14538129lag.112.1425078341090; Fri, 27 Feb 2015 15:05:41 -0800 (PST) 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.35.133 with SMTP id h5csp4207503lbj; Fri, 27 Feb 2015 15:05:40 -0800 (PST) X-Received: by 10.70.88.105 with SMTP id bf9mr28063916pdb.77.1425078339253; Fri, 27 Feb 2015 15:05:39 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bz12si5247131pdb.182.2015.02.27.15.05.38; Fri, 27 Feb 2015 15:05:39 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755766AbbB0XFS (ORCPT + 28 others); Fri, 27 Feb 2015 18:05:18 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36430 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755243AbbB0XFO (ORCPT ); Fri, 27 Feb 2015 18:05:14 -0500 Received: by padfb1 with SMTP id fb1so333797pad.3 for ; Fri, 27 Feb 2015 15:05:14 -0800 (PST) X-Received: by 10.66.119.193 with SMTP id kw1mr28381222pab.64.1425078314356; Fri, 27 Feb 2015 15:05:14 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id jd10sm4990871pbd.23.2015.02.27.15.05.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Feb 2015 15:05:13 -0800 (PST) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, zhang.chunyan@linaro.org, kaixu.xia@linaro.org Subject: [PATCH 2/5] coresight: fixing compilation warnings picked up by 64bit compiler Date: Fri, 27 Feb 2015 16:04:51 -0700 Message-Id: <1425078294-13059-3-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425078294-13059-1-git-send-email-mathieu.poirier@linaro.org> References: <1425078294-13059-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@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.48 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Compiling coresight drivers with a 64-bit compiler highlights a couple of formatting issues, which are fixed by this patch. Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight-etb10.c | 4 ++-- drivers/coresight/coresight-tmc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/coresight/coresight-etb10.c b/drivers/coresight/coresight-etb10.c index c9acd406f0d0..40049869aecd 100644 --- a/drivers/coresight/coresight-etb10.c +++ b/drivers/coresight/coresight-etb10.c @@ -313,8 +313,8 @@ static ssize_t etb_read(struct file *file, char __user *data, *ppos += len; - dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n", - __func__, len, (int) (depth * 4 - *ppos)); + dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n", + __func__, len, (int)(depth * 4 - *ppos)); return len; } diff --git a/drivers/coresight/coresight-tmc.c b/drivers/coresight/coresight-tmc.c index 3ff232f9ddf7..030e097c4fb2 100644 --- a/drivers/coresight/coresight-tmc.c +++ b/drivers/coresight/coresight-tmc.c @@ -533,8 +533,8 @@ static ssize_t tmc_read(struct file *file, char __user *data, size_t len, *ppos += len; - dev_dbg(drvdata->dev, "%s: %d bytes copied, %d bytes left\n", - __func__, len, (int) (drvdata->size - *ppos)); + dev_dbg(drvdata->dev, "%s: %zu bytes copied, %d bytes left\n", + __func__, len, (int)(drvdata->size - *ppos)); return len; }