* [PATCH 6/7] powerpc/crashdump: Do not fail on NULL pointer dereferencing
@ 2011-03-07 11:54 Kamalesh Babulal
0 siblings, 0 replies; only message in thread
From: Kamalesh Babulal @ 2011-03-07 11:54 UTC (permalink / raw)
To: stable; +Cc: linux-kernel, greg, anton, benh
powerpc/crashdump: Do not fail on NULL pointer dereferencing
Commit: 426b6cb478e60352a463a0d1ec75c1c9fab30b13 upstream
Signed-off-by: Maxim Uvarov <muvarov@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Kamalesh babulal <kamalesh@linux.vnet.ibm.com>
cc: Anton Blanchard <anton@samba.org>
---
arch/powerpc/kernel/crash.c | 3 +++
1 file changed, 3 insertions(+)
Index: b/arch/powerpc/kernel/crash.c
===================================================================
--- a/arch/powerpc/kernel/crash.c 2011-03-07 00:59:25.108253005 -0800
+++ b/arch/powerpc/kernel/crash.c 2011-03-07 01:01:07.004296733 -0800
@@ -378,6 +378,9 @@
for_each_irq(i) {
struct irq_desc *desc = irq_desc + i;
+ if (!desc || !desc->chip || !desc->chip->eoi)
+ continue;
+
if (desc->status & IRQ_INPROGRESS)
desc->chip->eoi(i);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-07 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 11:54 [PATCH 6/7] powerpc/crashdump: Do not fail on NULL pointer dereferencing Kamalesh Babulal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome