Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 22 Dec 2001 04:14:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 22 Dec 2001 04:14:01 -0500 Received: from rj.sgi.com ([204.94.215.100]:24757 "EHLO rj.sgi.com") by vger.kernel.org with ESMTP id ; Sat, 22 Dec 2001 04:13:48 -0500 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Kai Germaschewski Cc: Jason Thomas , linux-kernel Subject: Re: [PATCH] link errors with internal calls to devexit functions In-Reply-To: Your message of "Sat, 22 Dec 2001 10:04:19 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 Dec 2001 20:13:37 +1100 Message-ID: <7928.1009012417@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 22 Dec 2001 10:04:19 +0100 (CET), Kai Germaschewski wrote: >I'd rather think that the patch (and the original code) is broken, as it >seems we call an __devexit function from an init function. So >the correct fix is to remove the __devexit attribute from the offending >functions. Andrew Morton said the same thing and I agree. The code is broken, no amount of fancy wrappers will fix that. This is the perfect example of why the new binutils are good, they are catching broken code. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/