public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: "Paweł Sikora" <pluto@pld-linux.org>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: Re: Linux 3.5-rc7
Date: Tue, 17 Jul 2012 21:40:06 +0200	[thread overview]
Message-ID: <20120717194004.GA15311@x1.osrc.amd.com> (raw)
In-Reply-To: <1822123.rTBG69eEoS@localhost>

On Tue, Jul 17, 2012 at 09:07:40PM +0200, Paweł Sikora wrote:
> 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

Those are section mismatch warnings, see the help to
CONFIG_DEBUG_SECTION_MISMATCH.

-- 
Regards/Gruss,
Boris.

  reply	other threads:[~2012-07-17 19:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 19:07 Linux 3.5-rc7 Paweł Sikora
2012-07-17 19:40 ` Borislav Petkov [this message]
  -- 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=20120717194004.GA15311@x1.osrc.amd.com \
    --to=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pluto@pld-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox