From patchwork Tue Nov 19 05:14:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179634 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp148026ilf; Mon, 18 Nov 2019 21:25:28 -0800 (PST) X-Google-Smtp-Source: APXvYqx3LUxl2/LgeAwUqr4RF337MMMZP4pPx9ZlGECKtCs5Cj1rgq7hJ6NxRy0u55+5tpEFKmnW X-Received: by 2002:a17:906:4dd5:: with SMTP id f21mr31999907ejw.203.1574141128769; Mon, 18 Nov 2019 21:25:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574141128; cv=none; d=google.com; s=arc-20160816; b=Vi+XSD+zD8I8S6YsVI8OvLzPlAe3tfrj1G7B3SjPR+ntAZsMivE4mBlOE0Z5whtmfT arm3Clqj5LcXaBwiFYs/kl4i1Rv104yZ8Og+EL2EuV8A5hpuQbr5TE+Uu+LrO6U1xvSO 1QtKn6zDLqDZosqHjsjO1bgclchn9v2+ke8dTfGO5uqT3Vogfa5qTmhkyGwVMaQDCBTY Iiz7xc29zRFT/O5lqd1JDT0EX35yyUBeMBkqq7Oe4H4JBTh0Jq76/qToCgneTQVl25QE TBKO0juPX9yjYmHP+6QZc9AFsNmf5tsZAlvTEkCSvq5IEWl5aUIb0/Sgj+ZZfQPR2cU6 rhQA== 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=oxi/zbNEgUBDasSNu8cC9qmYgTjgehpKhG3AvFnXbns=; b=STGdTP1vUG6Hzcjbyt3DD0NmKpAaK5gqxlw13JZAiZq0/MpHzgrqvFQExG3MYJiirH 0ugfILjL0W5mSVaVHPBg5jkE3zbo65kIaSDgpRQNW6UVIfV9tsiH2YsblnziPZ2LdwZL ObRW/BSWzilfaT1KnU4ebfFsiq0dpeKRzdcQudnRQ8Ygm9pRIkg8yR6STyW78oWE05ke GC3+6Yw3pSRaqi4CO1C+U2n/7FhzWLN47w4DOgrpNUV9p8VPrnU+dc0eioNCueQvOge5 MTtPcfWRwrr2x3TuWAsmPPzpByJHNF0/19jX7IanvlkFchboHMXSSD/DZ/395fXSgqR4 vKvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=glxXgbDf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 i15si13031944ejz.434.2019.11.18.21.25.28; Mon, 18 Nov 2019 21:25:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=glxXgbDf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728391AbfKSFZ1 (ORCPT + 26 others); Tue, 19 Nov 2019 00:25:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:42808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728379AbfKSFZY (ORCPT ); Tue, 19 Nov 2019 00:25:24 -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 CAAED21783; Tue, 19 Nov 2019 05:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574141124; bh=OqJpgqnNucTIjc1sie5sJ+o2au5E86wgHQZUsNmr+LU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=glxXgbDf1Isc3xtPvRERvWPSZmGjKIugZUedT+1Uk/VNS2Qr0/bKriC85tlVlxZM5 Nv4kWcCdh7eo3BPjt2r6/xj6x2fjKK4FrEyk97n+n+Ac1JY5DgIAeZossB6ApA7Jde P8F1dDecAp3es2yaVoWMCRe+aQcxR+pelu88aNag= 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.19 051/422] remoteproc/davinci: Use %zx for formating size_t Date: Tue, 19 Nov 2019 06:14:08 +0100 Message-Id: <20191119051403.137683234@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051400.261610025@linuxfoundation.org> References: <20191119051400.261610025@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 e230bef71be1c..d200334577f68 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c @@ -226,7 +226,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);