lkml.org 
[lkml]   [2013]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] modpost: Add flag -f for making section mismatches fatal
    On Thu, Jan 3, 2013 at 4:06 AM, Michal Marek <mmarek@suse.cz> wrote:
    >
    > Dne 3.1.2013 00:56, Rusty Russell napsal(a):
    > > Jonathan Kliegman <kliegs@chromium.org> writes:
    > >> The section mismatch warning can be easy to miss during the kernel build
    > >> process. Allow it to be marked as fatal to be easily caught and prevent
    > >> bugs from slipping in.
    > >>
    > >> Signed-off-by: Jonathan Kliegman <kliegs@chromium.org>
    > >
    > > Hmm, a CONFIG option with no Kconfig entry? That seems weird...
    >
    > With a Kconfig entry, all{mod,yes}configs would start failing. It can be
    > enabled with make CONFIG_SECTION_MISMATCH_FATAL=y for now. Maybe it
    > could be added to Kconfig with 'depends on n', so that it is documented
    > somewhere.
    >
    Sorry for missing the Kconfig entry. It looks like init/Kconfig in
    the "General setup" seems the best fit as that looks like where the
    other build options are. If this is ok I'll upload a new version of
    the patch with the entry added.

    I'm not sure what you mean about configs failing. After adding this
    option to init/Kconfig I was able to build fine using old and new
    configs with and without the option set. Is there something specific
    you'd like me to test for?

    > Michal


    \
     
     \ /
      Last update: 2013-01-04 01:21    [W:7.305 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site