From: John Williams Date: Wed, 29 Jul 2009 12:08:40 +0000 (+1000) Subject: microblaze: Sane handling of missing timer/intc in device tree X-Git-Tag: v2.6.31-rc7~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892ee92b81b6e7fa5f6147c96e11c6c1b9802fc6;p=pandora-kernel.git 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 Signed-off-by: Michal Simek --- Reading git-diff-tree failed