From: "Mike Frysinger" <vapier.adi@gmail.com>
To: "Jiri Slaby" <jirislaby@gmail.com>
Cc: "Bryan Wu" <cooloney@kernel.org>,
linux-kernel@vger.kernel.org, "Wim Van Sebroeck" <wim@iguana.be>,
"Sam Ravnborg" <sam@ravnborg.org>
Subject: Re: [PATCH 1/1] [Blackfin try #2] char driver for Blackfin on-chip OTP memory
Date: Wed, 26 Mar 2008 10:31:15 -0400 [thread overview]
Message-ID: <8bd0f97a0803260731x4378c71q1e2e5598c1728e1d@mail.gmail.com> (raw)
In-Reply-To: <47EA268F.8070006@gmail.com>
On Wed, Mar 26, 2008 at 6:33 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 03/27/2008 02:08 AM, Bryan Wu wrote:
> > From: Mike Frysinger <vapier.adi@gmail.com>
> > +static int __init bfin_otp_init(void)
> > +{
> > + int ret;
> > +
> > + stampit();
> > +
> > + ret = misc_register(&bfin_otp_misc_device);
> > + if (ret) {
> > + pr_init(KERN_ERR PFX "unable to register a misc device\n");
> > + return ret;
> > + }
> > +
> > + pr_init(KERN_INFO PFX "initialized\n");
>
> except the fact, that pr_init definition seems to be broken. Its defined __fmt
> is const, so it should reside in .init.rodata (__initconst), not .init.data
> (__initdata).
i dont see an __initconst macro anywhere ?
also, it isnt "broken" in the sense that it "doesnt work" ;)
-mike
next prev parent reply other threads:[~2008-03-26 14:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 1:08 Bryan Wu
2008-03-26 10:33 ` Jiri Slaby
2008-03-26 14:31 ` Mike Frysinger [this message]
2008-03-26 18:34 ` Jiri Slaby
2008-03-26 18:40 ` Mike Frysinger
2008-03-26 19:09 ` Sam Ravnborg
2008-03-26 19:14 ` Mike Frysinger
2008-03-26 21:08 ` Sam Ravnborg
2008-03-26 21:12 ` Mike Frysinger
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=8bd0f97a0803260731x4378c71q1e2e5598c1728e1d@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=cooloney@kernel.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=wim@iguana.be \
/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
all inboxes | Powered by JetHome®