From patchwork Tue Nov 19 05:17:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179691 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp166995ilf; Mon, 18 Nov 2019 21:47:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxz6R8jk3IaZN9bMVlAHNt8QdH983M2iJTmhSZbawH5WAcdGdnfdiJdSFPKFzUh7qn/7me2 X-Received: by 2002:a17:906:8305:: with SMTP id j5mr21046031ejx.48.1574142460932; Mon, 18 Nov 2019 21:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574142460; cv=none; d=google.com; s=arc-20160816; b=pKt4rCPE+tmdNzpGePY9n1aZbt5zeu36be3pnpz5lNpPFEFJhpQ2RYoC6mGRmOHL4X ZVdFUeIl13yPSWvV7sMJcxRg2iP18rQWABeqmgMSwkXMZVM4wuSNyWvY3Ai0rMeiDj+d I1N2zwqWpShKr2QFhlEUlOTfGManVCeTnOjZsiFE8x+IbCgJ1g/AvABnk0MijZM/UAPt rjeRdntT8wiOcuUyJjCrPykil2OIQeJ6cKKjel3Li3nzX0BSVc5fROAWKpXkuUdomL1o drKePDDTIpuHaRDbmr0A446hrHz/7COYpY8Px1q2j/VET9FDM/mRicLSsUj3ZBo3pIsB xV2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ailskUb92KMyBQek+CAZlx/PlKgFpTsfNPlIeTjTc74=; b=FQqMf/xs3W6c035uVoa2QzrvPr8vxM2VHEzBNlvdW8aEPiHlqG5mwiyhHovcn01LUu dwXZSWsRzwj+DiT7v+Q4sltghfDhxTkCKWkKls+zfu6hmQNo7wub2rLo6gvqCJcNGxru H3JOk6WgGRA806R4vIMNOKsW0JqjyJp5RBmvCixhul444FLBER5gjQjzSGWmZEYk02aX +NLIuWmarBllSU8bf1+zCN9kHO9FMcVzhyNZ3qj/pj2qbjVK4e7eBs2y5Vf3dxoIrBFl RtvaAuF03l6DZz4S2fnZHi5e7WNTDlnV7gpamcM4zwbyPoGinPovmnh/R3BsYPEQOVO1 VUAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZFsyKyuv; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si15504902eda.262.2019.11.18.21.47.40; Mon, 18 Nov 2019 21:47:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZFsyKyuv; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731260AbfKSFrj (ORCPT + 15 others); Tue, 19 Nov 2019 00:47:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:44006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731258AbfKSFrj (ORCPT ); Tue, 19 Nov 2019 00:47:39 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EA05B2071B; Tue, 19 Nov 2019 05:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574142458; bh=RvVTYuH6J/bWSf35l6x4RJtqEASHSYMDdLh47axTfxE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFsyKyuv6OfzvUHGnlpC/NqsqFODo7e/38MScJU0UsOUijV/eqrk16NaNMo5SKj4i 0cqFDGu6f2sifX4/qcXNtpK6VbQ3pN4XG3MGXdKd1zhJ8VaNnBwOHUbqNpS5KqybDK /6GlU1jKCO2eeD5MOROoBpMiJljUlL1YJiOzbMlQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Suman Anna , Bartosz Golaszewski , Bjorn Andersson , Sasha Levin Subject: [PATCH 4.14 038/239] remoteproc/davinci: Use %zx for formating size_t Date: Tue, 19 Nov 2019 06:17:18 +0100 Message-Id: <20191119051304.990573093@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051255.850204959@linuxfoundation.org> References: <20191119051255.850204959@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Bjorn Andersson [ Upstream commit 1e28dbbeced6152b9ea7c417ff8cef3f7dcf0f19 ] da8xx_rproc_mem size is of type size_t, so use %zx to format the debug print of it to avoid a compile warning. Acked-by: Suman Anna Reviewed-by: Bartosz Golaszewski Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/remoteproc/da8xx_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index bf3b9034c319e..a127d2ccd7ca5 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c @@ -207,7 +207,7 @@ static int da8xx_rproc_get_internal_memories(struct platform_device *pdev, res->start & DA8XX_RPROC_LOCAL_ADDRESS_MASK; drproc->mem[i].size = resource_size(res); - dev_dbg(dev, "memory %8s: bus addr %pa size 0x%x va %p da 0x%x\n", + dev_dbg(dev, "memory %8s: bus addr %pa size 0x%zx va %p da 0x%x\n", mem_names[i], &drproc->mem[i].bus_addr, drproc->mem[i].size, drproc->mem[i].cpu_addr, drproc->mem[i].dev_addr);