]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: Check for NULL return from irq_alloc_generic_chip
authorTodd Poynor <toddpoynor@google.com>
Sun, 17 Jul 2011 05:39:35 +0000 (22:39 -0700)
committerSekhar Nori <nsekhar@ti.com>
Tue, 19 Jul 2011 07:19:00 +0000 (12:49 +0530)
commit6a6e410cd88f4901991e998df4874c7b185b3bd6
tree001bb1f8b9a2072e3de8dc6ae54f82c8b3f6d4cc
parent0ed56e9e7f3782c1848eebe6f3ee8a5401959f51
ARM: davinci: Check for NULL return from irq_alloc_generic_chip

Avoid NULL dereference of irq_alloc_generic_chip return in low
memory conditions.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/irq.c