Re: [PATCH] softmmu: Provide a clue as to why device tree loading failed

2022-01-18 Thread Laurent Vivier
Le 16/01/2022 à 12:46, Bernhard Beschow a écrit : 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 --- softmmu/device_tree.c | 6 -- 1 file changed, 4 insertions(+), 2 de

Re: [PATCH] softmmu: Provide a clue as to why device tree loading failed

2022-01-17 Thread Alistair Francis
On Sun, Jan 16, 2022 at 9:49 PM Bernhard Beschow wrote: > > 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 Reviewed-by: Alistair Francis Alistair > --- > softmmu/devi

Re: [PATCH] softmmu: Provide a clue as to why device tree loading failed

2022-01-16 Thread David Gibson
On Sun, Jan 16, 2022 at 12:46:49PM +0100, Bernhard Beschow wrote: > 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 Reviewed-by: David Gibson > --- > softmmu/device_tre

Re: [PATCH] softmmu: Provide a clue as to why device tree loading failed

2022-01-16 Thread Philippe Mathieu-Daudé via
On 16/1/22 12:46, Bernhard Beschow wrote: 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 --- softmmu/device_tree.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(

[PATCH] softmmu: Provide a clue as to why device tree loading failed

2022-01-16 Thread Bernhard Beschow
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 --- softmmu/device_tree.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/softmmu/device_tree.c b/softm