Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262161AbVELWaA (ORCPT ); Thu, 12 May 2005 18:30:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262163AbVELW36 (ORCPT ); Thu, 12 May 2005 18:29:58 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:57609 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S262161AbVELW3R (ORCPT ); Thu, 12 May 2005 18:29:17 -0400 Date: Fri, 13 May 2005 00:29:13 +0200 From: Adrian Bunk To: Jesper Juhl Cc: Stefan Richter , linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] drivers/ieee1394/: remove unneeded EXPORT_SYMBOL's Message-ID: <20050512222913.GE3603@stusta.de> References: <20050417195706.GD3625@stusta.de> <20050419191328.GJ1111@conscoop.ottawa.on.ca> <1113939827.6277.86.camel@laptopd505.fenrus.org> <42657F7C.8060305@s5r6.in-berlin.de> <1113981989.6238.30.camel@laptopd505.fenrus.org> <426683E9.4080708@s5r6.in-berlin.de> <1114029144.5085.20.camel@kino.dennedy.org> <4270001F.8020504@s5r6.in-berlin.de> <20050427214408.GV4099@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050427214408.GV4099@stusta.de> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1888 Lines: 48 On Wed, Apr 27, 2005 at 11:44:08PM +0200, Adrian Bunk wrote: > On Wed, Apr 27, 2005 at 11:38:11PM +0200, Jesper Juhl wrote: > > On Wed, 27 Apr 2005, Stefan Richter wrote: > > > > > Dan Dennedy wrote on 2005-04-20: > > > > There are technical > > > > merits for removal of the external symbols that I accept. I also accept > > > > that we have no way of maintaining any sort of stable subsystem for > > > > external projects we are not aware of or who are not communicating with > > > > us about their requirements (it goes beyond just a stable interface). > > > ... > > > > I vote to remove external symbols not used by the Linux1394.org modules > > > > or the module at http://sourceforge.net/projects/video-2-1394/ > > > > > > Nobody else posted specific requirements so far. So let's clean up the API. > > > How about this: > > > > > - Add warning comments next to obsolete EXPORT_SYMBOLs. Add warning > > > printks to obsolete functions? (If there are any.) > > > > how about just adding __deprecated to them? > > Some of these functions might have valid users (e.g. from the same > file). > > __deprecated_for_modules (already in -mm) is the right solution. Correcting myself: Unfortunately, this doesn't work since this also gives you a bunch of warnings for usage that doesn't use the EXPORT_SYMBOL's (e.g. if the whole ieee1394 stuff is built as a module). cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/