Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp482364imm; Fri, 17 Aug 2018 01:07:03 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwlxUnc3CDhttWQzbIvD1qHAX6dtMXte+fGixte6OFJk67onW2tIa4B55WLyHzfoFUZxZSQ X-Received: by 2002:a17:902:9302:: with SMTP id bc2-v6mr32548106plb.280.1534493222990; Fri, 17 Aug 2018 01:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534493222; cv=none; d=google.com; s=arc-20160816; b=TOPAp1cRVEXOuXHoQBBzXRcEbOmqBp4wGal3tc1q9uZoGQVWYJdEXyRLbOCeJ58McN RjrCGxyQNYfQWvh7x4zxr4+4MZJ162apAyGUpsdcwC0Kh1RpFJc/1RswIeEYN3CWS/sk 0bdHj7hv1VOxWRRz78jJ+VBy9C9qYu7tZbq//Rnyrg7/8jc2PoLnhqiJps1KL2wsguQ1 1hxyqz5M1/+B3tFu9+HfBqHGigZDYNVv4AMHtSDNov8B3HeCsHiCwCN2gIM9LCpPFRSt U4Yx9hpZNt2lh3AXi9HdjOxMLfoLFijRcVFMvnqtopmS9WdhVrhzAd4yLfgYLSh5ZfvV 24jA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=aKnH5j2GBRZVuhNggUydsymHqqdF9C95gqucesJnYNs=; b=AHVvWUKX0FdzKe+jSoibRLbb/U7UC/R2U9lTroHvuTn908rlpZ2zmZRIqcQx/+utYZ R6+uFARM5UAVjcZOUNrUCcfKN+zkKRbnaPhb006HpmQ5wqhGaOi8GQuh9JxdQ6Bzd5bL lfo6Gs1t3Ymb4Kh50+Z8q6+wyMBPytdvGlRwRcC0rjrXirftvI8zersR72Tnty8hPwSM R+LJkgsT9trUrzPrkCqIhfsGqI/Cb00pS9Rt+6f9fs+a5mfY60N292OywOzRG/vpMcwh 5ZpHo/mL5EV1xMT51WHepmVstiV2aypIRm7+b/b2TGXSe9M7Br4v7p/eraS0dp2XygmV hN/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pDcytIiG; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p123-v6si1605920pfg.281.2018.08.17.01.06.46; Fri, 17 Aug 2018 01:07:02 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=pDcytIiG; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbeHQLHd (ORCPT + 99 others); Fri, 17 Aug 2018 07:07:33 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34984 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeHQLHd (ORCPT ); Fri, 17 Aug 2018 07:07:33 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7H84LWh084255; Fri, 17 Aug 2018 03:04:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1534493061; bh=aKnH5j2GBRZVuhNggUydsymHqqdF9C95gqucesJnYNs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=pDcytIiG8FSyvq5tObS1XbCAs9owjefI7JLouqeqNuGoRF+Ojg4P2XvsaTkpu0UpV x0jZYZuafJuPXG5zxanuq0XtovBFCav+w+pAzvCUvxzzmtKNzEIHIsOOXmHXXEN/K3 JcK6RcCVxgHGyfVg+y62i0HSHsenlvYo0ww5AKrI= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7H84LSS031217; Fri, 17 Aug 2018 03:04:21 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 17 Aug 2018 03:04:21 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 17 Aug 2018 03:04:21 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7H84GTf010450; Fri, 17 Aug 2018 03:04:17 -0500 Subject: Re: [PATCH] remoteproc/davinci: Use %zx for formating size_t To: Bartosz Golaszewski , Bjorn Andersson CC: Ohad Ben-Cohen , , Linux Kernel Mailing List , Bartosz Golaszewski , Suman Anna , David Lechner References: <20180817004919.10805-1-bjorn.andersson@linaro.org> From: Sekhar Nori Message-ID: Date: Fri, 17 Aug 2018 13:34:16 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 17 August 2018 01:09 PM, Bartosz Golaszewski wrote: > 2018-08-17 2:49 GMT+02:00 Bjorn Andersson : >> da8xx_rproc_mem size is of type size_t, so use %zx to format the debug >> print of it to avoid a compile warning. >> >> Signed-off-by: Bjorn Andersson >> --- >> drivers/remoteproc/da8xx_remoteproc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c >> index e230bef71be1..d200334577f6 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); >> -- >> 2.18.0 >> > > Reviewed-by: Bartosz Golaszewski > > Can you also pick up this patch[1] for v4.19? David Lechner already > has a patch queued for v4.20 that depends on this one. Looks like Bjorn added it to next yesterday. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b2201ee554a5811f569f31280b0079e7d6177606 Thanks, Sekhar