"CONFIG_PROCFS" problem in 2.3.18ac8

Matti Aarnio (matti.aarnio@sonera.fi)
Wed, 22 Sep 1999 17:45:14 +0300


Hi,

I was doing my "compile everything possible as modules" thing
again, and noticed some weird warning..

Turns out that drivers/block/cpqarray.c has a typo:

( in /usr/src/linux directory )
$ cc=`find * -name \*.c`
$ egrep CONFIG_PROCFS $cc
drivers/block/cpqarray.c:#ifdef CONFIG_PROCFS
drivers/block/cpqarray.c:#ifdef CONFIG_PROCFS
$ hh=`find * -name \*.h`
$ SS=`find * -name \*.S`
$ egrep CONFIG_PROCFS $hh
$ egrep CONFIG_PROCFS $SS
$

The thing to test is CONFIG_PROC_FS ...

As a side note, job for a aspiring kernel hacker:

In the system (for i386) there are now 565 'CONFIG_.*' entries and
TWO 'IDEDMA_.*' entries. Scanning the system for such defines which
are *NOT* defined in any configuration script file would be worthwhile
job for somebody. Any takers ?

If somebody makes tools to automate such scan, could they, please, be
published ?

/Matti Aarnio

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/