From: Rob Herring <robherring2@gmail.com>
To: Murali Karicheri <m-karicheri2@ti.com>
Cc: Grant Likely <grant.likely@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] dma-mapping: fix debug print to display correct dma_pfn_offset
Date: Tue, 13 Jan 2015 14:02:54 -0600 [thread overview]
Message-ID: <CAL_JsqJb2ufqwgHNUepiNs8NRa57caxacoEfVa6-RYT8HUfS5g@mail.gmail.com> (raw)
In-Reply-To: <1419262509-9811-1-git-send-email-m-karicheri2@ti.com>
On Mon, Dec 22, 2014 at 9:35 AM, Murali Karicheri <m-karicheri2@ti.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@ti.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
>
prev parent reply other threads:[~2015-01-13 20:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-22 15:35 [PATCH] dma-mapping: fix debug print to display correct dma_pfn_offset Murali Karicheri
2015-01-13 20:02 ` Rob Herring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAL_JsqJb2ufqwgHNUepiNs8NRa57caxacoEfVa6-RYT8HUfS5g@mail.gmail.com \
--to=robherring2@gmail.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m-karicheri2@ti.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).