diff options
| author | Alistair Francis | 2018-01-22 20:43:16 +0100 |
|---|---|---|
| committer | Edgar E. Iglesias | 2018-01-26 11:09:02 +0100 |
| commit | d4c6d3600beab8b976f373f6e5b68066e9b9fdaa (patch) | |
| tree | 6de2600624ec739de466148afc8696bf78cebf20 /include | |
| parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125'... (diff) | |
| download | qemu-d4c6d3600beab8b976f373f6e5b68066e9b9fdaa.tar.gz qemu-d4c6d3600beab8b976f373f6e5b68066e9b9fdaa.tar.xz qemu-d4c6d3600beab8b976f373f6e5b68066e9b9fdaa.zip | |
microblaze: boot.c: Don't try to find NULL file
Previously if no device tree was passed to microblaze_load_kernel() then
qemu_find_file() would try to find a NULL pointer. To avoid this put a
check around qemu_find_file().
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
