[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqJb2ufqwgHNUepiNs8NRa57caxacoEfVa6-RYT8HUfS5g@mail.gmail.com>
Date: Tue, 13 Jan 2015 14:02:54 -0600
From: Rob Herring <robherring2@...il.com>
To: Murali Karicheri <m-karicheri2@...com>
Cc: Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dma-mapping: fix debug print to display correct dma_pfn_offset
On Mon, Dec 22, 2014 at 9:35 AM, Murali Karicheri <m-karicheri2@...com> wrote:
> fix the dev_dbg to display the offset which is the calculated
> dma_pfn_offset value and set later in the code.
>
> Signed-off-by: Murali Karicheri <m-karicheri2@...com>
Applied for 3.20. Thanks.
> ---
> drivers/of/platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/of/platform.c b/drivers/of/platform.c
> index 5b33c6a..a54ec10 100644
> --- a/drivers/of/platform.c
> +++ b/drivers/of/platform.c
> @@ -188,7 +188,7 @@ static void of_dma_configure(struct device *dev)
> size = dev->coherent_dma_mask;
> } else {
> offset = PFN_DOWN(paddr - dma_addr);
> - dev_dbg(dev, "dma_pfn_offset(%#08lx)\n", dev->dma_pfn_offset);
> + dev_dbg(dev, "dma_pfn_offset(%#08lx)\n", offset);
> }
> dev->dma_pfn_offset = offset;
>
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists