From: Stephen Boyd <sboyd@codeaurora.org>
To: Bryan Freed <bfreed@chromium.org>
Cc: linux-kernel@vger.kernel.org, keescook@chromium.org,
marco.stornelli@gmail.com, grant.likely@secretlab.ca,
anton.vorontsov@linaro.org
Subject: Re: [PATCH] pstore/ram: Add ramoops support for the Flattened Device Tree.
Date: Wed, 06 Jun 2012 10:16:03 -0700 [thread overview]
Message-ID: <4FCF9053.6020102@codeaurora.org> (raw)
In-Reply-To: <1338926395-26298-1-git-send-email-bfreed@chromium.org>
On 06/05/12 12:59, Bryan Freed wrote:
> When called with a non-zero of_node, fill out a new ramoops_platform_data
> with data from the specified Flattened Device Tree node.
> Update ramoops documentation with the new FDT interface.
>
> Change-Id: Id8f9f0abc5b564375c1b6d5d30c92d57d76520b7
> Signed-off-by: Bryan Freed <bfreed@chromium.org>
> ---
> Documentation/ramoops.txt | 19 +++++++++++++++++--
> fs/pstore/ram.c | 43 +++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 60 insertions(+), 2 deletions(-)
Can you document the binding in Documentation/devicetree/bindings/* too?
> diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
> index 9123cce..bf0f882 100644
> --- a/fs/pstore/ram.c
> +++ b/fs/pstore/ram.c
> @@ -213,6 +248,14 @@ static int __init ramoops_probe(struct platform_device *pdev)
> if (cxt->max_count)
> goto fail_out;
>
> + if (pdev->dev.of_node) {
> + if (of_ramoops_platform_data(pdev->dev.of_node, &of_pdata)) {
> + pr_err("Invalid ramoops device tree data\n");
dev_err()?
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-06-06 17:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-05 19:59 [PATCH] pstore/ram: Add ramoops support for the Flattened Device Tree Bryan Freed
2012-06-06 17:16 ` Stephen Boyd [this message]
2012-06-06 18:00 ` Bryan Freed
2012-06-06 22:05 ` Anton Vorontsov
2012-06-07 22:22 ` Olof Johansson
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=4FCF9053.6020102@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=anton.vorontsov@linaro.org \
--cc=bfreed@chromium.org \
--cc=grant.likely@secretlab.ca \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.stornelli@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.