summaryrefslogtreecommitdiffstats
path: root/include/filetype.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-25 17:56:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-30 14:42:54 +0100
commite2fce6b92c19e15593f98f354d19b2f7716896a9 (patch)
treee36a60fde968e5b2857121c894037e12daa24236 /include/filetype.h
parent72703410feff9ed44779b54a41ff30312e781279 (diff)
downloadbarebox-e2fce6b92c19e15593f98f354d19b2f7716896a9.tar.gz
of: Check for NULL pointer in of_find_property
The console layer calls of_device_is_stdout_path for a new console. When we are booting without devicetree then of_chosen is NULL which makes barebox crash. Check for a NULL pointer in of_find_property to prevent this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/filetype.h')
0 files changed, 0 insertions, 0 deletions