From patchwork Wed Feb 11 04:31:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 44537 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD59721512 for ; Wed, 11 Feb 2015 04:32:11 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf1137128eek.3 for ; Tue, 10 Feb 2015 20:32:11 -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=7vIckt5owRiOCsPxdVTJ8JxZlBAyZqtbaiqI0wZZJwU=; b=IxZkCHVEz3L/F3vKPwMktV5HnZk6eXlAtXtgEj50EkMi5LVJgmhstGH9IcSAuMWM05 Lz07yF4KlIIhD3zF4pRVZZ3CZw66hSHNERI3NEwzYhkJrxiKqvU2WuMssLCbI9TdF+Id eDDJs2SbnO9Y09oXlx7qs9F15XmcZ2cgQLsB0pO6WPdwDkvnUzxpfctcupWouEGCuk2G 0inzbKOoYrf3p9a7sRuEMTtxWIUCJXHRE8fSHcEIU7djBF9Nr3myi8fT1zJCZh231rpW eOAPQTPMX6na08/bS6kueKn6xBvtJ3+YKcrIa/U+r4ccRadG9xnTMBHCg8d01N6FJoX1 nJZg== X-Gm-Message-State: ALoCoQn2o7SoG7OSYaNqKJG2IjHnLSGYb3ckAXSWfKzQyjWd/kp8koUGrJWMi6jkw7Vo8CPoOazX X-Received: by 10.180.13.83 with SMTP id f19mr108047wic.7.1423629131018; Tue, 10 Feb 2015 20:32:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.229 with SMTP id f5ls15194lag.15.gmail; Tue, 10 Feb 2015 20:32:10 -0800 (PST) X-Received: by 10.152.28.37 with SMTP id y5mr26677573lag.55.1423629130753; Tue, 10 Feb 2015 20:32:10 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id x4si13534127lbm.37.2015.02.10.20.32.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 20:32:10 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id n10so1002823lbv.6 for ; Tue, 10 Feb 2015 20:32:10 -0800 (PST) X-Received: by 10.112.181.41 with SMTP id dt9mr26809079lbc.56.1423629130599; Tue, 10 Feb 2015 20:32:10 -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 h5csp1019161lbj; Tue, 10 Feb 2015 20:32:09 -0800 (PST) X-Received: by 10.68.222.130 with SMTP id qm2mr43743974pbc.44.1423629128667; Tue, 10 Feb 2015 20:32:08 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hf2si29358604pac.24.2015.02.10.20.32.07; Tue, 10 Feb 2015 20:32:08 -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 S1752775AbbBKEb7 (ORCPT + 28 others); Tue, 10 Feb 2015 23:31:59 -0500 Received: from mail-pd0-f177.google.com ([209.85.192.177]:34698 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752658AbbBKEby (ORCPT ); Tue, 10 Feb 2015 23:31:54 -0500 Received: by pdjg10 with SMTP id g10so1750757pdj.1 for ; Tue, 10 Feb 2015 20:31:53 -0800 (PST) X-Received: by 10.68.162.225 with SMTP id yd1mr42725305pbb.75.1423629113652; Tue, 10 Feb 2015 20:31:53 -0800 (PST) Received: from localhost.localdomain ([210.177.145.249]) by mx.google.com with ESMTPSA id oq2sm20821524pbb.60.2015.02.10.20.31.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Feb 2015 20:31:53 -0800 (PST) From: mathieu.poirier@linaro.org To: will.deacon@arm.com Cc: linux@arm.linux.org.uk, Catalin.Marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] coresight: fixing compilation warnings picked up by 64bit compiler Date: Tue, 10 Feb 2015 21:31:25 -0700 Message-Id: <1423629085-1044-2-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423629085-1044-1-git-send-email-mathieu.poirier@linaro.org> References: <1423629085-1044-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.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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mathieu Poirier 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 --- Changes for v3: - Splitting Kconfig work from compilation warnings fixes. --- 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; }