mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: linux-arm-kernel@lists.arm.linux.org.uk,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arm: fix section mismatch warnings
Date: Mon, 28 May 2007 20:38:58 +0200	[thread overview]
Message-ID: <20070528183858.GB30821@uranus.ravnborg.org> (raw)
In-Reply-To: <20070528170936.GC5737@flint.arm.linux.org.uk>

> >  
> > -static int __init neponset_init(void)
> > +static int __devinit neponset_init(void)
> >  {
> >  	platform_driver_register(&neponset_device_driver);
> >  
> 
> How can this hunk be correct?  neponset_init() is only called from
> subsys_initcall() - it's not something we want to keep at init time.
> I'm afraid I suspect faulty section analysis.
As covered in other mail - it is not.
The __devinit stuff should all be redone by a knowledgeable person.

	Sam

  reply	other threads:[~2007-05-28 18:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 16:32 ARM: Section " Sam Ravnborg
2007-05-28 16:44 ` [PATCH] arm: fix section " Sam Ravnborg
2007-05-28 17:09   ` Russell King
2007-05-28 18:38     ` Sam Ravnborg [this message]
2007-05-28 17:04 ` ARM: Section " Russell King
2007-05-28 17:56   ` Andrew Victor
2007-05-28 18:36   ` Sam Ravnborg
2007-05-28 19:25     ` Russell King
2007-05-28 19:58       ` Sam Ravnborg
2007-05-28 20:25         ` Russell King

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=20070528183858.GB30821@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®