From patchwork Fri Aug 17 00:49:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10568287 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B2EE5A4 for ; Fri, 17 Aug 2018 00:48:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2109729B45 for ; Fri, 17 Aug 2018 00:48:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 104F62B39C; Fri, 17 Aug 2018 00:48:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD43629B45 for ; Fri, 17 Aug 2018 00:48:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbeHQDtQ (ORCPT ); Thu, 16 Aug 2018 23:49:16 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:45953 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbeHQDtQ (ORCPT ); Thu, 16 Aug 2018 23:49:16 -0400 Received: by mail-pl0-f65.google.com with SMTP id j8-v6so2876450pll.12 for ; Thu, 16 Aug 2018 17:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=p0oCNQsdQUbRDMsJjqL1ysfaYPclrK2oDX4CTK64hvQ=; b=ZKKSuDjFWWmykcRRi7TrJRUD9PanYVvVF+B+XJS7a31kl3uxHujJ8Xgo9hd9Lmf06L ILt9x+BmWqYOzjtFAby7YxP131OuuHFWTmVvNDtrmMP2tq4xFV79SQnH238tHMuNXlvI gwysV9Z0gl3qidJ55dMd7fxH6cbgR7n3G3FGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p0oCNQsdQUbRDMsJjqL1ysfaYPclrK2oDX4CTK64hvQ=; b=Lor5ighFk6PzVp5IZUPVg8IkxwojVxKlxq0Df1PTBzQwfNCDW4HCCSYiiikGuTBEwf 31iJvbKFYic7LbzT0WPIyUcjcWx8sP0kfMd9RLN4QJ+OXvxdMmmxNHsGahpKdk+8rHSU whr4QjoW9n/knNirBuKrc+cz+eBaFqXJtHUYpNA/gIZh/XEJk28tOs2E/Q4GHX7HdGUe aFbz25mq/mFpyEve97sBhVhLHKP4jWFiAtjtbs1Ms50Aly8s5ZcMWFNtqksWCe0ImzZB c4LQRsxMxB1FNFu9KEXsOBLq29qXzi9cg8LNK5+x6lV9g3MZylfHg5wC58VUaDddLnWY PY7A== X-Gm-Message-State: AOUpUlGT4BkTpBaa6VjUVMpFjQvHHbSILBE9zwD4LxqIFC23z/pHIZzq 6aByOmqibICSC4RtbBEyvKz0WQ== X-Google-Smtp-Source: AA+uWPzFfByjAS59ZLfTibgnxTumeSRqs/idBgdVTqmkQLp4dBfTGhfZpm04VwOXVtwL53tTkj2Q0A== X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr30773992pla.68.1534466883360; Thu, 16 Aug 2018 17:48:03 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id r23-v6sm647641pfd.144.2018.08.16.17.48.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Aug 2018 17:48:02 -0700 (PDT) From: Bjorn Andersson To: Ohad Ben-Cohen , Bjorn Andersson Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Suman Anna Subject: [PATCH] remoteproc/davinci: Use %zx for formating size_t Date: Thu, 16 Aug 2018 17:49:19 -0700 Message-Id: <20180817004919.10805-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Suman Anna Reviewed-by: Bartosz Golaszewski --- 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);