Re: [MIPS] DEC: Fix modpost warning.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 10, 2007 at 02:07:21PM +0100, Maciej W. Rozycki wrote:
> From: "Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx>
> Date: Tue, 10 Jul 2007 14:07:21 +0100 (BST)
> To: linux-mips@xxxxxxxxxxxxxx
> Subject: Re: [MIPS] DEC: Fix modpost warning.
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> On Tue, 10 Jul 2007, linux-mips@xxxxxxxxxxxxxx wrote:
> 
> >   LD      vmlinux
> >   SYSMAP  System.map
> >   SYSMAP  .tmp_System.map
> >   MODPOST vmlinux
> > WARNING: drivers/built-in.o(.data+0x2480): Section mismatch: reference to .init.text: (between 'sercons' and 'ds_parms')
> > 
> > Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> > 
> > ---
> > 
> >  drivers/tc/zs.c |    6 +++---
> >  1 files changed, 3 insertions(+), 3 deletions(-)
> 
>  It looks like a bogus warning -- I presume it comes from a reference from 
> "sercons" to serial_console_setup() -- but the driver is going away, so I 
> could not care less...

Yes, the root cause was the reference to serial_console_setup.  It's hard
to teach modpost that this reference is bogus so I fixed the driver instead.
Other console drivers had the same issue.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux