linux-mips
[Top] [All Lists]

Re: [MIPS] DEC: Fix modpost warning.

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [MIPS] DEC: Fix modpost warning.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 10 Jul 2007 14:04:09 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.64N.0707101401001.18036@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S20022577AbXGJLug/20070710115036Z+13637@ftp.linux-mips.org> <Pine.LNX.4.64N.0707101401001.18036@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Jul 10, 2007 at 02:07:21PM +0100, Maciej W. Rozycki wrote:
> From: "Maciej W. Rozycki" <macro@linux-mips.org>
> Date: Tue, 10 Jul 2007 14:07:21 +0100 (BST)
> To: linux-mips@linux-mips.org
> Subject: Re: [MIPS] DEC: Fix modpost warning.
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> On Tue, 10 Jul 2007, linux-mips@linux-mips.org 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@linux-mips.org>
> > 
> > ---
> > 
> >  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

<Prev in Thread] Current Thread [Next in Thread>