* Re: [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() [not found] ` <20121128221649.GB13534@kroah.com> @ 2012-11-29 2:12 ` Fengguang Wu 2012-11-29 3:04 ` Greg Kroah-Hartman 2012-11-29 15:41 ` Michal Marek 0 siblings, 2 replies; 5+ messages in thread From: Fengguang Wu @ 2012-11-29 2:12 UTC (permalink / raw) To: Greg Kroah-Hartman; +Cc: Bill Pemberton, devel, Sam Ravnborg, linux-kbuild On Wed, Nov 28, 2012 at 02:16:49PM -0800, Greg KH wrote: > On Thu, Nov 29, 2012 at 05:38:31AM +0800, kbuild test robot wrote: > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next > > head: da095fd3d5063f2dd03468d71f7df39a0430d86f > > commit: f791be492f76dea7b0641ed227a60eeb2fa7e255 [65/93] mfd: remove use of __devinit > > config: x86_64-randconfig-s363 (attached as .config) > > > > All warnings: > > > > WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() > > The function stmpe_i2c_probe() references > > the function __devinit stmpe_probe(). > > This is often because stmpe_i2c_probe lacks a __devinit > > annotation or the annotation of stmpe_probe is wrong. > > Not an issue anymore as __devinit is always defined to nothing, so this > check doesn't mean anything. So modpost.c or something in the kernel should be updated? Thanks, Fengguang ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() 2012-11-29 2:12 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() Fengguang Wu @ 2012-11-29 3:04 ` Greg Kroah-Hartman 2012-11-29 15:41 ` Michal Marek 1 sibling, 0 replies; 5+ messages in thread From: Greg Kroah-Hartman @ 2012-11-29 3:04 UTC (permalink / raw) To: Fengguang Wu; +Cc: Bill Pemberton, devel, Sam Ravnborg, linux-kbuild On Thu, Nov 29, 2012 at 10:12:12AM +0800, Fengguang Wu wrote: > On Wed, Nov 28, 2012 at 02:16:49PM -0800, Greg KH wrote: > > On Thu, Nov 29, 2012 at 05:38:31AM +0800, kbuild test robot wrote: > > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next > > > head: da095fd3d5063f2dd03468d71f7df39a0430d86f > > > commit: f791be492f76dea7b0641ed227a60eeb2fa7e255 [65/93] mfd: remove use of __devinit > > > config: x86_64-randconfig-s363 (attached as .config) > > > > > > All warnings: > > > > > > WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() > > > The function stmpe_i2c_probe() references > > > the function __devinit stmpe_probe(). > > > This is often because stmpe_i2c_probe lacks a __devinit > > > annotation or the annotation of stmpe_probe is wrong. > > > > Not an issue anymore as __devinit is always defined to nothing, so this > > check doesn't mean anything. > > So modpost.c or something in the kernel should be updated? Yes, I will work on that tomorrow, thanks for reminding me. greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() 2012-11-29 2:12 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() Fengguang Wu 2012-11-29 3:04 ` Greg Kroah-Hartman @ 2012-11-29 15:41 ` Michal Marek 2012-11-29 15:51 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Bill Pemberton 1 sibling, 1 reply; 5+ messages in thread From: Michal Marek @ 2012-11-29 15:41 UTC (permalink / raw) To: Fengguang Wu, Greg Kroah-Hartman Cc: Bill Pemberton, devel, Sam Ravnborg, linux-kbuild On 29.11.2012 03:12, Fengguang Wu wrote: > On Wed, Nov 28, 2012 at 02:16:49PM -0800, Greg KH wrote: >> On Thu, Nov 29, 2012 at 05:38:31AM +0800, kbuild test robot wrote: >>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next >>> head: da095fd3d5063f2dd03468d71f7df39a0430d86f >>> commit: f791be492f76dea7b0641ed227a60eeb2fa7e255 [65/93] mfd: remove use of __devinit >>> config: x86_64-randconfig-s363 (attached as .config) >>> >>> All warnings: >>> >>> WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() >>> The function stmpe_i2c_probe() references >>> the function __devinit stmpe_probe(). >>> This is often because stmpe_i2c_probe lacks a __devinit >>> annotation or the annotation of stmpe_probe is wrong. >> >> Not an issue anymore as __devinit is always defined to nothing, so this >> check doesn't mean anything. Really? If __devinit was defined to do nothing, then the function would not end up in .devinit.text. > So modpost.c or something in the kernel should be updated? modpost.c checks the sections in the binary. So if a macro is defined to nothing, modpost will stop complaining (and of course the check can be cleaned up later). Michal ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): 2012-11-29 15:41 ` Michal Marek @ 2012-11-29 15:51 ` Bill Pemberton 2012-11-29 16:39 ` Greg Kroah-Hartman 0 siblings, 1 reply; 5+ messages in thread From: Bill Pemberton @ 2012-11-29 15:51 UTC (permalink / raw) To: Michal Marek Cc: Fengguang Wu, Greg Kroah-Hartman, devel, Sam Ravnborg, linux-kbuild Michal Marek writes: > > On 29.11.2012 03:12, Fengguang Wu wrote: > > On Wed, Nov 28, 2012 at 02:16:49PM -0800, Greg KH wrote: > >> On Thu, Nov 29, 2012 at 05:38:31AM +0800, kbuild test robot wrote: > >>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next > >>> head: da095fd3d5063f2dd03468d71f7df39a0430d86f > >>> commit: f791be492f76dea7b0641ed227a60eeb2fa7e255 [65/93] mfd: remove use of __devinit > >>> config: x86_64-randconfig-s363 (attached as .config) > >>> > >>> All warnings: > >>> > >>> WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() > >>> The function stmpe_i2c_probe() references > >>> the function __devinit stmpe_probe(). > >>> This is often because stmpe_i2c_probe lacks a __devinit > >>> annotation or the annotation of stmpe_probe is wrong. > >> > >> Not an issue anymore as __devinit is always defined to nothing, so this > >> check doesn't mean anything. > > Really? If __devinit was defined to do nothing, then the function would > not end up in .devinit.text. > Yes, the __dev* #defines are still in init.h right now. I've not touched them yet on the thinking they can't be removed until all users of them are gone. Maybe it'd be a good idea to change them to nothing now. That way anything that's still using them won't have compile failures, but the section mismatches would go away. -- Bill ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): 2012-11-29 15:51 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Bill Pemberton @ 2012-11-29 16:39 ` Greg Kroah-Hartman 0 siblings, 0 replies; 5+ messages in thread From: Greg Kroah-Hartman @ 2012-11-29 16:39 UTC (permalink / raw) To: Bill Pemberton Cc: Michal Marek, Fengguang Wu, devel, Sam Ravnborg, linux-kbuild On Thu, Nov 29, 2012 at 10:51:50AM -0500, Bill Pemberton wrote: > Michal Marek writes: > > > > On 29.11.2012 03:12, Fengguang Wu wrote: > > > On Wed, Nov 28, 2012 at 02:16:49PM -0800, Greg KH wrote: > > >> On Thu, Nov 29, 2012 at 05:38:31AM +0800, kbuild test robot wrote: > > >>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next > > >>> head: da095fd3d5063f2dd03468d71f7df39a0430d86f > > >>> commit: f791be492f76dea7b0641ed227a60eeb2fa7e255 [65/93] mfd: remove use of __devinit > > >>> config: x86_64-randconfig-s363 (attached as .config) > > >>> > > >>> All warnings: > > >>> > > >>> WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() > > >>> The function stmpe_i2c_probe() references > > >>> the function __devinit stmpe_probe(). > > >>> This is often because stmpe_i2c_probe lacks a __devinit > > >>> annotation or the annotation of stmpe_probe is wrong. > > >> > > >> Not an issue anymore as __devinit is always defined to nothing, so this > > >> check doesn't mean anything. > > > > Really? If __devinit was defined to do nothing, then the function would > > not end up in .devinit.text. > > > > Yes, the __dev* #defines are still in init.h right now. I've not > touched them yet on the thinking they can't be removed until all users > of them are gone. > > Maybe it'd be a good idea to change them to nothing now. That way > anything that's still using them won't have compile failures, but the > section mismatches would go away. Yes, I'll work on that later today. greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-29 16:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <50b68457.FDmXAd+1Sp92leEs%fengguang.wu@intel.com>
[not found] ` <20121128221649.GB13534@kroah.com>
2012-11-29 2:12 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Section mismatch in reference from the function stmpe_i2c_probe() to the function .devinit.text:stmpe_probe() Fengguang Wu
2012-11-29 3:04 ` Greg Kroah-Hartman
2012-11-29 15:41 ` Michal Marek
2012-11-29 15:51 ` [driver-core:driver-core-next 65/93] WARNING: drivers/built-in.o(.text+0xe2399): Bill Pemberton
2012-11-29 16:39 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).