x86/bootm: fix error handling in boot_prep_linux(...)
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Thu, 11 Oct 2018 05:44:42 +0000 (07:44 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 22 Oct 2018 09:51:45 +0000 (17:51 +0800)
commitc74e3295ae4a5338f91e971aee1638fa08a9b97d
treed57d8b1f9fe75028e21d0d8e18d8b19e7a5a82b7
parent97d20f69f53e7586394e48805f25f23d9a3ebaa8
x86/bootm: fix error handling in boot_prep_linux(...)

Once we get a zero pointer from load_zimage(...) we must bunch out
instead of continue boot.

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/bootm.c