From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Jean Delvare <khali@linux-fr.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] hwmon: w83781d doesn't link when built-in
Date: Sun, 26 Oct 2008 19:35:13 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0810261934140.15317@anakin> (raw)
In-Reply-To: <20081026163624.622a0931@hyperion.delvare>
On Sun, 26 Oct 2008, Jean Delvare wrote:
> On Sun, 26 Oct 2008 15:20:26 +0100 (CET), Geert Uytterhoeven wrote:
> > When w83781d is built-in, the final links fails with the following vague error
> > message:
> >
> > `.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined
> > in discarded section `.exit.text' of drivers/built-in.o
> >
> > w83781d_isa_unregister() cannot be marked __exit, as it's also called from
> > sensors_w83781d_init(), which is marked __init.
>
> Good catch, thanks for reporting. For some reason the link doesn't fail
> here.
Probably w83781d_isa_unregister() got inlined?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
prev parent reply other threads:[~2008-10-26 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-26 14:20 Geert Uytterhoeven
2008-10-26 15:36 ` Jean Delvare
2008-10-26 18:35 ` Geert Uytterhoeven [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=Pine.LNX.4.64.0810261934140.15317@anakin \
--to=geert@linux-m68k.org \
--cc=akpm@linux-foundation.org \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wg@grandegger.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 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®