2008-02-02 07:54:44

by Peter Teoh

[permalink] [raw]
Subject: CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH

CONFIG_SECTION_MISMATCH I supposed has been deprecated by
CONFIG_DEBUG_SECTION_MISMATCH, as I found
CONFIG_DEBUG_SECTION_MISMATCH in Makefile, Makefile.build and
Makefile.modpost, but not the former symbol. Moreover, setting the
symbol in .config, and followed by make oldconfig will result in the
non-debug symbol disappearing, but not the debug version. Am I
correct?

Signed-off-by: Peter Teoh <[email protected]>

--- scripts/mod/modpost.c.orig 2008-02-02 15:18:04.000000000 +0800
+++ scripts/mod/modpost.c 2008-02-02 15:18:47.000000000 +0800
@@ -1942,7 +1942,7 @@ int main(int argc, char **argv)
"To see additional details select \"Enable full "
"Section mismatch analysis\"\n"
"in the Kernel Hacking menu "
- "(CONFIG_SECTION_MISMATCH).\n", sec_mismatch_count);
+ "(CONFIG_DEBUG_SECTION_MISMATCH).\n",
sec_mismatch_count);

return err;
}