mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH?
@ 2008-02-02 16:20 Peter Teoh
  2008-02-02 17:39 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Teoh @ 2008-02-02 16:20 UTC (permalink / raw)
  To: LKML

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 <htmldeveloper@gmail.com>

--- 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;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH?
  2008-02-02 16:20 CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH? Peter Teoh
@ 2008-02-02 17:39 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2008-02-02 17:39 UTC (permalink / raw)
  To: Peter Teoh; +Cc: LKML

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-02 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-02 16:20 CONFIG_SECTION_MISMATCH is replaced by CONFIG_DEBUG_SECTION_MISMATCH? Peter Teoh
2008-02-02 17:39 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®