From: Bjorn Andersson Date: Fri, 17 Aug 2018 00:49:19 +0000 (-0700) Subject: remoteproc/davinci: Use %zx for formating size_t X-Git-Tag: v5.4-rc1~2314^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e28dbbeced6152b9ea7c417ff8cef3f7dcf0f19;p=platform%2Fkernel%2Flinux-rpi.git remoteproc/davinci: Use %zx for formating size_t 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 --- diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index e230bef..d200334 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);