Skip to contentSkip to conversation

Remove inclusion of obsolete <linux/config.h>

GIT * David Woodhouse 2 participants 3 messages Jul 6, 2006

lore
Share & tools
lore
#0 lore raw

Linus, please pull from git://git.infradead.org/~dwmw2/killconfig.h.git

This contains two commits. The first removes all inclusions of <linux/config.h> from the kernel sources, and the second turns include/linux/config.h into a one-line #error.

I chose to add #error rather than just deleting the file, to make the error message more informative and hopefully prevent too many people from asking "where did config.h go?".

Sam thinks it should be a #warning instead, even though it's been unnecessary to include config.h for about eight months now. If you agree, pull from git://git.infradead.org/~dwmw2/woundconfig.h.git
instead -- that contains the same first commit and then the second commit creates a #warning instead.

Please pull one or the other.

Signature · 1 line
dwmw2
#1 lore raw
Quoted 5 lines · David Woodhouse

Linus, please pull from git://git.infradead.org/~dwmw2/killconfig.h.git

This contains two commits. The first removes all inclusions of <linux/config.h> from the kernel sources, and the second turns include/linux/config.h into a one-line #error.

Btw, Andrew...

hera /pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm6/broken-out $ grep "+#include <linux/config.h>" * -l acx1xx-wireless-driver.patch
apple-motion-sensor-driver.patch
edac-new-opteron-athlon64-memory-controller-driver.patch
git-ia64.patch
git-klibc.patch
git-sas.patch
git-watchdog.patch
gregkh-usb-usb-gotemp.patch
gregkh-usb-usb-serial-mos7720.patch
mutex-subsystem-synchro-test-module.patch
origin.patch
reiser4.patch
touchkit-ps-2-touchscreen-driver.patch

Signature · 1 line
dwmw2
#2 lore raw
Quoted 2 lines · David Woodhouse

gregkh-usb-usb-gotemp.patch
gregkh-usb-usb-serial-mos7720.patch

I'll fix these two, they should not have had that #include at all...

thanks,

greg k-h