From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763256AbYA3REh (ORCPT ); Wed, 30 Jan 2008 12:04:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757507AbYA3REZ (ORCPT ); Wed, 30 Jan 2008 12:04:25 -0500 Received: from pasmtpa.tele.dk ([80.160.77.114]:32875 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbYA3REY (ORCPT ); Wed, 30 Jan 2008 12:04:24 -0500 Date: Wed, 30 Jan 2008 18:04:17 +0100 From: Sam Ravnborg To: Kamalesh Babulal Cc: LKML , netdev@vger.kernel.org, linuxppc-dev@ozlabs.org, Andy Whitcroft Subject: Re: [BUILD FAILURE] 2.6.24-git7 section type conflict at various drivers on powerpc Message-ID: <20080130170417.GA24386@uranus.ravnborg.org> References: <47A0A3AF.5050005@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47A0A3AF.5050005@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 30, 2008 at 09:49:59PM +0530, Kamalesh Babulal wrote: > Hi, > > Following are the different build failure with 2.6.24-git7 kernel on the powerpc > > drivers/net/typhoon.c:181: error: typhoon_card_info causes a section type conflict > make[2]: *** [drivers/net/typhoon.o] Error 1 > > drivers/net/natsemi.c:259: error: natsemi_pci_info causes a section type conflict > make[2]: *** [drivers/net/natsemi.o] Error 1 > > drivers/net/bnx2.c:95: error: board_info causes a section type conflict > make[2]: *** [drivers/net/bnx2.o] Error 1 > > drivers/net/via-velocity.c:454: error: velocity_id_table causes a section type conflict > make[2]: *** [drivers/net/via-velocity.o] Error 1 A quick look told me that they are all caused by const data annotated with __devinitdata. Try replacing all annotations of const variables from __devinitdata to __devinitconst. Sam