Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262814AbVBZBN3 (ORCPT ); Fri, 25 Feb 2005 20:13:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261174AbVBZBMq (ORCPT ); Fri, 25 Feb 2005 20:12:46 -0500 Received: from mail.goracer.de ([62.75.192.134]:13795 "HELO mail.goracer.de") by vger.kernel.org with SMTP id S262818AbVBZBIO (ORCPT ); Fri, 25 Feb 2005 20:08:14 -0500 Message-ID: <421FCBF9.1020003@XLsigned.net> Date: Sat, 26 Feb 2005 02:08:09 +0100 From: "Buttchereit, Axel (XL)" Organization: XLsigned - Information Content User-Agent: Mozilla Thunderbird 0.8 (X11/20040925) X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-fbdev-devel@lists.sourceforge.net CC: Olaf Hering , Benjamin Herrenschmidt , Kernel Mailing List Subject: Re: [Linux-fbdev-devel] Re: 2.6.11-rc5 References: <20050224145049.GA21313@suse.de> <20050226004137.GA25539@suse.de> In-Reply-To: X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 34 Linus Torvalds wrote: > > On Sat, 26 Feb 2005, Olaf Hering wrote: > >>modedb can not be __init because fb_find_mode() may get db == NULL. >>fb_find_mode() is called from modules. > > > Ack. Maybe somebody should run the scripts again to check that we don't > reference __init data from non-init functions. > > Linus > This patch has already been posted to linux-fbdev on 2005-02-10 by David Vrabel and made me ask Is there any reason why this has been originally flagged "__init"? "vesa_modes" is not "__init". That's why I changed "intelfb" to use "vesa_modes". Maybe time has come to decide, if availability of "modedb" outside of init functions is more important than freeing (unused) kernel memory. --Axel - 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/