diff options
author | John Williams <john.williams@petalogix.com> | 2009-07-29 14:08:40 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-08-18 10:33:30 +0200 |
commit | 892ee92b81b6e7fa5f6147c96e11c6c1b9802fc6 (patch) | |
tree | 8ae8086fe126192fb4fd68a37811db24599048a3 /ipc | |
parent | microblaze: use the generic ack_bad_irq implementation (diff) | |
download | linux-892ee92b81b6e7fa5f6147c96e11c6c1b9802fc6.tar.xz linux-892ee92b81b6e7fa5f6147c96e11c6c1b9802fc6.zip |
microblaze: Sane handling of missing timer/intc in device tree
This code path doesn't test any returned pointers for NULL, leading to a bad
kernel page fault if there's no timer/intc found.
Slightly better is to BUG(), but even better still would be a printk beforehand.
Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions