lkml.org 
[lkml]   [2009]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/25] [x86] BUG to BUG_ON changes

    * Stoyan Gaydarov <stoyboyker@gmail.com> wrote:

    > Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
    > ---
    > arch/x86/kernel/cpu/common.c | 6 ++----
    > arch/x86/kernel/quirks.c | 3 +--
    > arch/x86/mach-voyager/voyager_smp.c | 6 ++----
    > 3 files changed, 5 insertions(+), 10 deletions(-)

    applied, thanks.

    To find candidates i suspect you used something like this:

    grep -r -B 1 'BUG()' arch/x86/ | grep -E '\<if\>[^(]*\([^{(]*$' -A 1

    right? It gives the output below - exactly the sites you
    touched.

    Ingo

    arch/x86/kernel/cpu/common.c- if (me->mm)
    arch/x86/kernel/cpu/common.c: BUG();
    --
    arch/x86/kernel/cpu/common.c- if (curr->mm)
    arch/x86/kernel/cpu/common.c: BUG();
    --
    arch/x86/kernel/quirks.c- if (rcba_base == NULL)
    arch/x86/kernel/quirks.c: BUG();


    \
     
     \ /
      Last update: 2009-03-10 09:41    [W:4.706 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site