Re: [PATCH 1/3] powerpc: kdump: Fix NULL pointer dereference in irq disable code

2010-05-10 Thread Michael Ellerman
On Tue, 2010-05-11 at 12:23 +1000, Anton Blanchard wrote: > With sparse irqs we have to check if we have a descriptor before dereferencing > it. > > Signed-off-by: Anton Blanchard > --- > > diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c > index 6f4613d..5182439 100644 > -

[PATCH 1/3] powerpc: kdump: Fix NULL pointer dereference in irq disable code

2010-05-10 Thread Anton Blanchard
With sparse irqs we have to check if we have a descriptor before dereferencing it. Signed-off-by: Anton Blanchard --- diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index 6f4613d..5182439 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c @@ -375,