I supposed CONFIG_SECTION_MISMATCH 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;
}
On Sun, Feb 03, 2008 at 12:20:41AM +0800, Peter Teoh wrote:
> I supposed CONFIG_SECTION_MISMATCH 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?
Simple error on my side.
Will fix while I touch this code for another reason.
Thanks for the report and proposed patch!
Sam