Skip to contentSkip to conversation

CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH?

PATCH Peter Teoh 2 participants 2 messages Feb 2, 2008

lore
Share & tools
lore

Peter Teoh

author
#0 lore raw

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?

mod/modpost.c 2008-02-02 15:18:47.000000000 +0800 renamed from mod/modpost.c.orig 2008-02-02 15:18:04.000000000 +0800 +1 -1
@@ -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;

}

#1 lore raw
Quoted 7 lines · Peter Teoh

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