Re: [PATCH 07/25] [x86] BUG to BUG_ON changes

From: Ingo Molnar
Date: Tue Mar 10 2009 - 04:38:16 EST



* Stoyan Gaydarov <stoyboyker@xxxxxxxxx> wrote:

> Signed-off-by: Stoyan Gaydarov <stoyboyker@xxxxxxxxx>
> ---
> 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();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/