lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 29 Dec 2007 01:41:23 +0100 (CET) From: Jan Engelhardt <jengelh@...putergmbh.de> To: Adrian Bunk <bunk@...nel.org> cc: jgarzik@...ox.com, netdev@...r.kernel.org Subject: Re: [PATCH] Make FC, FDDI, HIPPI and TR tristate On Dec 29 2007 02:09, Adrian Bunk wrote: >On Sat, Dec 29, 2007 at 12:45:12AM +0100, Jan Engelhardt wrote: >> Turn CONFIG_FC, CONFIG_FDDI, CONFIG_HIPPI and CONFIG_TR into tristate >> so they can be built as modules. This will allow CONFIG_LLC to be >> built as a module too, overall reducing the core kernel image size. >>... > >Just an example of code you have to fix if you do this: > >$ grep -r "#ifdef CONFIG_TR" net/ Ah, thank you for reminding me. For lec.c, would it be ok to do #if defined(CONFIG_TR) || defined(CONFIG_TR_MODULE) # define WITH_TR 1 #endif at the top and then do a s/CONFIG_TR/WITH_TR/? Just so that the #ifdef lines do not explode in redundance. >net/802/sysctl_net_802.c:#ifdef CONFIG_TR >net/802/sysctl_net_802.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/atm/lec.c:#ifdef CONFIG_TR >net/ipv4/arp.c:#ifdef CONFIG_TR >net/llc/llc_output.c:#ifdef CONFIG_TR >net/sysctl_net.c:#ifdef CONFIG_TR >net/sysctl_net.c:#ifdef CONFIG_TR >$ -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists