From: "Paweł Sikora" <pluto@pld-linux.org>
To: linux-kernel@vger.kernel.org
Cc: torvalds@linux-foundation.org
Subject: Re: Linux 3.5-rc7
Date: Tue, 17 Jul 2012 21:07:40 +0200 [thread overview]
Message-ID: <1822123.rTBG69eEoS@localhost> (raw)
Hi,
the modular kernel fails to build:
(...)
Building modules, stage 2.
MODPOST 3571 modules
WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x1f): Section mismatch in reference from the function init_module() to the function .exit.text:fcoe_transport_exit()
The function __init init_module() references
a function __exit fcoe_transport_exit().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
fcoe_transport_exit() so it may be used outside an exit section.
WARNING: drivers/staging/ipack/bridges/tpci200.o(.data+0x28): Section mismatch in reference from the variable tpci200_pci_drv to the function .devexit.text:tpci200_pci_remove()
The variable tpci200_pci_drv references
the function __devexit tpci200_pci_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
BR,
Paweł.
next reply other threads:[~2012-07-17 19:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 19:07 Paweł Sikora [this message]
2012-07-17 19:40 ` Linux 3.5-rc7 Borislav Petkov
-- strict thread matches above, loose matches on Subject: below --
2012-09-30 12:54 Uwaysi Bin Kareem
2012-10-05 21:29 ` Valdis.Kletnieks
2012-10-06 13:12 ` Uwaysi Bin Kareem
2012-07-15 0:59 Linus Torvalds
2012-07-16 14:36 ` Alan Cox
2012-07-16 16:28 ` Martin Steigerwald
2012-07-16 16:37 ` Linus Torvalds
2012-07-16 17:01 ` Martin Steigerwald
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=1822123.rTBG69eEoS@localhost \
--to=pluto@pld-linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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 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.