From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: modpost warning question Date: Wed, 25 Jul 2007 17:55:03 +1000 Message-ID: <1185350103.5439.314.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: sam@ravnborg.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, Jeff Garzik , netdev@vger.kernel.org To: Kumar Gala Return-path: Received: from gate.crashing.org ([63.228.1.57]:54686 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751966AbXGYHzW (ORCPT ); Wed, 25 Jul 2007 03:55:22 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, 2007-07-25 at 02:14 -0500, Kumar Gala wrote: > I'm seeing the following warning: > > WARNING: vmlinux.o(.init.text+0x1acdc): Section mismatch: reference to > .exit.text:gfar_mdio_exit (between 'gfar_init' and 'gfar_mdio_init') > > I don't understand why its not ok to access .exit.text from .init.text > > The following addresses the issue, however I don't particularly like it: Because exit.text is removed when compiling built-in Ben.