Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759136Ab0BYPEB (ORCPT ); Thu, 25 Feb 2010 10:04:01 -0500 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:43677 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759013Ab0BYPEA (ORCPT ); Thu, 25 Feb 2010 10:04:00 -0500 Date: Thu, 25 Feb 2010 16:04:23 +0100 From: Christoph Egger To: "John W. Linville" , linux-kernel@vger.kernel.org Cc: vamos@i4.informatik.uni-erlangen.de, "David S. Miller" , Eric Dumazet , Herbert Xu , Patrick McHardy , Yi Zou Subject: Question about WLAN_80211 removal Message-ID: <20100225150423.GA5101@faui49.informatik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1431 Lines: 42 Hi all! As part of the VAMOS[0] research project at the University of Erlangen we're checking referential integrity between kernel KConfig options and in-code Conditional blocks. In git commit [1] the option WLAN_80211 was removed as well as all references from within KConfig (as far as I can see) because the non 80211 drivers moved to staging. I guess while doing so the help message was beliefed in which tells that this option only enables selection of certain drivers which is unfortunately wrong as this option is used in one header file[2] where it influences (as I'm reading it) the maximum size required for some networking header. Is this, as it seems, a bug in kernel code or rather harmless (intended?)? Regards Christoph Egger [0] http://vamos1.informatik.uni-erlangen.de/ [1] 133d7c6a504c672011ebc24b26e05b15f7410c07 [2] ./include/linux/netdevice.h #if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) # if defined(CONFIG_MAC80211_MESH) # define LL_MAX_HEADER 128 # else # define LL_MAX_HEADER 96 # endif #elif defined(CONFIG_TR) || defined(CONFIG_TR_MODULE) # define LL_MAX_HEADER 48 #else # define LL_MAX_HEADER 32 #endif -- 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/