Re: Help needed to fix section mismatch warnings

2008-01-19 Thread Sam Ravnborg
> > > > > > > WARNING: vmlinux.o(.text+0x43524): Section mismatch: reference to > > > .init.text: (between 'timer_cpu_notify' and 'msleep') > > > WARNING: vmlinux.o(.text+0x4c6f6): Section mismatch: reference to > > > .init.text: (between 'rcu_cpu_notify' and 'wakeme_after_rcu') > > > WARNING:

Re: Help needed to fix section mismatch warnings

2008-01-19 Thread Sam Ravnborg
On Sat, Jan 19, 2008 at 11:52:55AM -0800, Randy Dunlap wrote: > On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > > > kbuild emit section mismatch warnings when it detects that someone does a > > call from a non-init section to a init section. > > The rationale here is that the init section

Re: Help needed to fix section mismatch warnings

2008-01-19 Thread Randy Dunlap
On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > kbuild emit section mismatch warnings when it detects that someone does a > call from a non-init section to a init section. > The rationale here is that the init section are discarded at runtime and > if this call happens after the init secti

Re: Help needed to fix section mismatch warnings

2008-01-11 Thread Sam Ravnborg
On Thu, Jan 10, 2008 at 11:19:18AM -0800, Randy Dunlap wrote: > On Wed, 9 Jan 2008 22:25:42 -0800 Randy Dunlap wrote: > > > On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > > > > > > > This is the current list of warnings > > > > Sam, > > > > Several of these are due to driver variable

Re: Help needed to fix section mismatch warnings

2008-01-10 Thread Sam Ravnborg
On Wed, Jan 09, 2008 at 10:25:42PM -0800, Randy Dunlap wrote: > On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > > > > This is the current list of warnings > > Sam, > > Several of these are due to driver variable names not matching > the whitelisted names in modpost. I have patches for

Re: Help needed to fix section mismatch warnings

2008-01-10 Thread Randy Dunlap
On Wed, 9 Jan 2008 22:25:42 -0800 Randy Dunlap wrote: > On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > > > > This is the current list of warnings > > Sam, > > Several of these are due to driver variable names not matching > the whitelisted names in modpost. I have patches for the one

Re: Help needed to fix section mismatch warnings

2008-01-09 Thread Randy Dunlap
On Sun, 6 Jan 2008 15:07:28 +0100 Sam Ravnborg wrote: > This is the current list of warnings Sam, Several of these are due to driver variable names not matching the whitelisted names in modpost. I have patches for the ones that I have identified so far. And I have patches for a few of the oth

Help needed to fix section mismatch warnings

2008-01-06 Thread Sam Ravnborg
kbuild emit section mismatch warnings when it detects that someone does a call from a non-init section to a init section. The rationale here is that the init section are discarded at runtime and if this call happens after the init section has gone we have an oops. This check is planned to be turne