login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
2
Re: Section mismatch warnings
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Gabriel C <nix.or.die@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: Section mismatch warnings
Date: Thursday, August 2, 2007 - 1:59 pm
On Thu, Aug 02, 2007 at 07:12:36PM +0200, Gabriel C wrote:
quoted text
> Sam Ravnborg wrote: > > On Thu, Aug 02, 2007 at 04:27:34PM +0200, Gabriel C wrote: > >>>>> WARNING: vmlinux.o(.init.text+0x29d40): Section mismatch: reference to .exit.text:wbsd_release_resources (between 'wbsd_init' and 'wbsd_probe') > >>>>> WARNING: vmlinux.o(.init.text+0x29d49): Section mismatch: reference to .exit.text:wbsd_free_mmc (between 'wbsd_init' and 'wbsd_probe') > >>>>> WARNING: vmlinux.o(.init.text+0x29f28): Section mismatch: reference to .exit.text:wbsd_free_mmc (between 'wbsd_init' and 'wbsd_probe') > >>>> When a function is marked __exit and used from an init function then the safe choice > >>>> is to just remove the __exit marking. Usually this is small functions used > >>>> only in error situations. > >>>> Should be trivial too. > >>> I'll look at those too > >>> > >>>> Sorry - no patch this time. Could you try to look at it yorself then I will review. > >>> Ok I'll try. > >>> > >> The warnings gone with this patch but I'm not really sure it is correct. > > Looks correct to me. > > You drop the __devexit marking for functions used outside __exit. > > Acked-by: Sam Ravnborg <sam@ravnborg.org> > > Shall I send this one to akpm with your ACK or you take care of it ?
Please forward it to akpm. I usually do not carry non-kbuild patches in my tree to keep 'noise' level down. Sam -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Section mismatch warnings
, Gabriel C
, (Mon Jul 30, 1:48 pm)
Re: Section mismatch warnings
, Sam Ravnborg
, (Mon Jul 30, 2:51 pm)
Re: Section mismatch warnings
, Gabriel C
, (Mon Jul 30, 3:31 pm)
Re: Section mismatch warnings
, Gabriel C
, (Tue Jul 31, 3:45 pm)
Re: Section mismatch warnings
, Sam Ravnborg
, (Tue Jul 31, 4:48 pm)
Re: Section mismatch warnings
, Gabriel C
, (Tue Jul 31, 5:58 pm)
Re: Section mismatch warnings
, Gabriel C
, (Thu Aug 2, 10:27 am)
Re: Section mismatch warnings
, Sam Ravnborg
, (Thu Aug 2, 12:31 pm)
Re: Section mismatch warnings
, Gabriel C
, (Thu Aug 2, 1:12 pm)
Re: Section mismatch warnings
, Sam Ravnborg
, (Thu Aug 2, 1:59 pm)
Re: Section mismatch warnings
, Gabriel C
, (Thu Aug 2, 2:24 pm)
[PATCH] Fix section mismatch warnings in sound/pci/hda/
, Gabriel C
, (Tue Jul 31, 9:30 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Parag Warudkar
BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 010/196] Chinese: add translation of Codingstyle
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
Gerrit Renker
[PATCH 24/37] dccp: Processing Confirm options
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Alexey Dobriyan
Re: [GIT]: Networking
david
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
693 guests
online.
Online users
zeekec
letsgotouring
johnmorlo772
Syndicate