]> git.proxmox.com Git - mirror_qemu.git/commit
softmmu: Provide a clue as to why device tree loading failed
authorBernhard Beschow <shentey@gmail.com>
Sun, 16 Jan 2022 11:46:49 +0000 (12:46 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 18 Jan 2022 11:33:46 +0000 (12:33 +0100)
commitd4fae97d8fb50d7e3387458af24c85bac965957d
tree7da837741be397739944371cf50ccc9e24900feb
parent6d4c8af321e5d0da919fd946d44abbd61a10b708
softmmu: Provide a clue as to why device tree loading failed

fdt_open_into() obligingly returns an error code in case the operation
failed. So be obliging as well and use it in the error message.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220116114649.40859-1-shentey@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
softmmu/device_tree.c