linux-mips
[Top] [All Lists]

Re: [PATCH] PCnet: Fix section mismatch

To: ralf@linux-mips.org
Subject: Re: [PATCH] PCnet: Fix section mismatch
From: David Miller <davem@davemloft.net>
Date: Thu, 11 Aug 2011 07:42:55 -0700 (PDT)
Cc: pcnet32@frontier.com, netdev@vger.kernel.org, tsbogend@alpha.franken.de, linux-mips@linux-mips.org
In-reply-to: <20110810152346.GA6092@linux-mips.org>
References: <20110810152346.GA6092@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 10 Aug 2011 16:23:46 +0100

> Building MIPS mtx1_defconfig results in:
> 
>   MODPOST 735 modules
> WARNING: drivers/net/pcnet32.o(.devinit.text+0x11ec): Section mismatch in 
> reference from the function pcnet32_probe_vlbus.constprop.22() to the 
> variable .init.data:pcnet32_portlist
> The function __devinit pcnet32_probe_vlbus.constprop.22() references
> a variable __initdata pcnet32_portlist.
> If pcnet32_portlist is only used by pcnet32_probe_vlbus.constprop.22 then
> annotate pcnet32_portlist with a matching annotation.
> 
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Applied, thanks Ralf.

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