From: Stevie Trujillo <stevie.trujillo@gmail.com>
To: Marco Stornelli <marco.stornelli@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
kyungmin.park@samsung.com, xiyou.wangcong@gmail.com
Subject: Re: [PATCH] ramoops: use module parameters instead of platform data if not available
Date: Sat, 28 May 2011 12:05:00 +0200 [thread overview]
Message-ID: <201105281205.00421.stevie.trujillo@gmail.com> (raw)
In-Reply-To: <4DE0B9D8.3020405@gmail.com>
On Saturday 28 May 2011 11:01:12 you wrote:
> From: Marco Stornelli <marco.stornelli@gmail.com>
>
> Use generic module parameters instead of platform data, if platform
> data are not available. This limitation has been introduced with
> commit c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0.
>
> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
> CC: Kyungmin Park <kyungmin.park@samsung.com>
> Reported-by: Stevie Trujillo <stevie.trujillo@gmail.com>
Nice work, I think this will fix my problems :) I have some comments - not
sure how many of them are sane.
I think the indent is wrong (mixed tabs + spaces) in ramoops_init. Tried to
fix it, but my email client just made it worse :p
With this patch, ramoops_platform_data takes precedence over module
parameters. Should it maybe be the other way?
I think you can just statically allocate ramoops_platform_data, since it's
only 2x(unsigned long)? You will use one more long in .data, but less in
.text?
Not related to the patch: Should the printks end with "\n"? If i do
printk(KERN_ERR "a"); printk(KERN_ERR "b"); I get two lines, but with
printk(KERN_ERR "a"); printk("b"); they end up on the same line. So if another
driver did printk without KERN_ after ramoops, they would end up on same line?
--
Stevie Trujillo
next prev parent reply other threads:[~2011-05-28 10:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-28 9:01 [PATCH] ramoops: use module parameters instead of platform data if not available Marco Stornelli
2011-05-28 10:05 ` Stevie Trujillo [this message]
2011-05-28 14:18 ` Marco Stornelli
2011-05-28 14:48 ` [PATCH 1/2 v2] " Marco Stornelli
2011-06-06 16:02 ` Américo Wang
2011-06-07 16:49 ` [PATCH 1/2 v3] " Marco Stornelli
2011-06-08 16:01 ` Américo Wang
2011-06-08 19:52 ` Marco Stornelli
2011-06-09 0:59 ` Stephen Rothwell
2011-06-09 1:02 ` Américo Wang
2011-06-09 6:46 ` Marco Stornelli
2011-06-18 14:01 ` Marco Stornelli
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=201105281205.00421.stevie.trujillo@gmail.com \
--to=stevie.trujillo@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.stornelli@gmail.com \
--cc=xiyou.wangcong@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.