Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030973AbXECJtj (ORCPT ); Thu, 3 May 2007 05:49:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161175AbXECJtj (ORCPT ); Thu, 3 May 2007 05:49:39 -0400 Received: from nic.NetDirect.CA ([216.16.235.2]:48758 "EHLO rubicon.netdirect.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030991AbXECJth (ORCPT ); Thu, 3 May 2007 05:49:37 -0400 X-Originating-Ip: 72.143.66.196 Date: Thu, 3 May 2007 05:49:10 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Satyam Sharma cc: Linux Kernel Mailing List , netdev@vger.kernel.org Subject: Re: finding your own dead "CONFIG_" variables In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Net-Direct-Inc-MailScanner-Information: Please contact the ISP for more information X-Net-Direct-Inc-MailScanner: Found to be clean X-Net-Direct-Inc-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.989, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -15.00, INIT_RECVD_OUR_AUTH -20.00, RCVD_IN_SORBS_DUL 20.00, SUBJ_YOUR_OWN 0.81) X-Net-Direct-Inc-MailScanner-From: rpjday@mindspring.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1197 Lines: 33 On Thu, 3 May 2007, Satyam Sharma wrote: > > http://fsdev.net/wiki/index.php?title=Dead_CONFIG_variables > > > kcfiles=$(find . -name "Kconfig*") > > Suggest: configfiles=$(find . -name 'Kconfig*' -or -name '*defconfig*') > > Some CONFIG_ options exist that are not declared anywhere in the > Kconfig files but defined directly in the arch/.../*defconfig* > files. it's my understanding that entries in any defconfig files are *automatically* pruned at some point once a CONFIG_ variable no longer exists in any Kconfig file, so i'm not going to be touching those files. also, adding that extra check wouldn't add anything useful to the output. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== - 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/