Skip to content
Commit 121ca8e5 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: kexec_file: Refactor setup_dtb() to consolidate error checking



setup_dtb() is a little difficult to read. This is largely because it
duplicates the FDT -> Linux errno conversion for every intermediate
return value, but also because of silly cosmetic things like naming
and formatting.

Given that this is all brand new, refactor the function to get us off on
the right foot.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 884143f6
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