powerpc/kexec: Use common error handling code in setup_new_fdt()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 11 Mar 2018 08:03:42 +0000 (09:03 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Aug 2018 12:12:36 +0000 (22:12 +1000)
commitbaedcdf5054c151a33e34392af7d8c3a244f16e6
tree682140b0ec9ef2345bbe018c2b28d90e474aad19
parent302c7b0c4ff5aed585419603f835dee30207e5d5
powerpc/kexec: Use common error handling code in setup_new_fdt()

Add a jump target so that a bit of exception handling can be better
reused at the end of this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/machine_kexec_file_64.c