From patchwork Mon Mar 30 20:13:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 46533 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 37C9D218BE for ; Mon, 30 Mar 2015 20:14:08 +0000 (UTC) Received: by lbdc10 with SMTP id c10sf3828467lbd.0 for ; Mon, 30 Mar 2015 13:14:07 -0700 (PDT) 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=lAOPTBJFkSHf4mgkzZGP4vlpYv5a+dTu8KwDMYnfT92w0FqLzhRp5GKWzhTcbJ4vjG H4gJbAB34Cz+eiANtbHkXaFDJd2nH2MAGo4mlQ+WtW/mkZkdzd4P1DKCVDy7bbG81yqu PeuWXERiqwsEuw5VaVXvbGAf0SF5RQsLXIVD+bigDOULLpwe0qojsYzyHDT2xQtXTLzT Ae8NLezhUBETBXzBLuzrlO6ByMAw22lYc48ib5MdpLbzdfpWETUHH8rA6CJmgzlilVqR BPy6wv29BS5q0vWTaSCPVtN0SxsKy9LAOBt6f71op4Tl5U8aMFcZuwhqrPfFBD29GP5Q JbYw== X-Gm-Message-State: ALoCoQmuiSyfSlQVJzyXEzYkTNdbhNk2xsvo9ab7iaBDWcx0uBy2xIgUrBanZTPCJSYK93Z1L+0T X-Received: by 10.180.150.115 with SMTP id uh19mr4048606wib.7.1427746447212; Mon, 30 Mar 2015 13:14:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.6 with SMTP id i6ls609281lam.10.gmail; Mon, 30 Mar 2015 13:14:07 -0700 (PDT) X-Received: by 10.152.234.108 with SMTP id ud12mr28090058lac.81.1427746447020; Mon, 30 Mar 2015 13:14:07 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id kx13si7716220lbb.152.2015.03.30.13.14.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 13:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbcmq2 with SMTP id mq2so103265505lbc.0 for ; Mon, 30 Mar 2015 13:14:06 -0700 (PDT) X-Received: by 10.152.163.35 with SMTP id yf3mr1505988lab.86.1427746446916; Mon, 30 Mar 2015 13:14:06 -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.57.201 with SMTP id k9csp1366289lbq; Mon, 30 Mar 2015 13:14:06 -0700 (PDT) X-Received: by 10.66.144.36 with SMTP id sj4mr62881943pab.32.1427746444935; Mon, 30 Mar 2015 13:14:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si16210725pdl.3.2015.03.30.13.14.03; Mon, 30 Mar 2015 13:14:04 -0700 (PDT) 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 S1754213AbbC3UOA (ORCPT + 27 others); Mon, 30 Mar 2015 16:14:00 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36861 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754194AbbC3UNy (ORCPT ); Mon, 30 Mar 2015 16:13:54 -0400 Received: by padcy3 with SMTP id cy3so176909873pad.3 for ; Mon, 30 Mar 2015 13:13:54 -0700 (PDT) X-Received: by 10.68.135.233 with SMTP id pv9mr61595980pbb.67.1427746434304; Mon, 30 Mar 2015 13:13:54 -0700 (PDT) Received: from t430.cg.shawcable.net ([184.64.168.246]) by mx.google.com with ESMTPSA id jy9sm11549978pbc.31.2015.03.30.13.13.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 13:13:53 -0700 (PDT) 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, mathieu.poirier@linaro.org Subject: [PATCH 2/8] coresight: fixing compilation warnings picked up by 64bit compiler Date: Mon, 30 Mar 2015 14:13:35 -0600 Message-Id: <1427746421-31360-3-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427746421-31360-1-git-send-email-mathieu.poirier@linaro.org> References: <1427746421-31360-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.217.182 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; }