Skip to content
Commit ad633de6 authored by David Gibson's avatar David Gibson
Browse files

sam460ex: Check for errors from libfdt functions



In a couple of places sam460ex_load_device_tree() calls "raw" libfdt
functions which can fail, but doesn't check for error codes.  At best,
if these fail the guest will be silently started in a non-standard state,
or it could fail entirely.

Fix this by using the _FDT() helper macro which aborts on a libfdt failure.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 9ba58cb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment