Re: [PATCH 2/2] hw/mips/boston: Fix load_elf error detection

2021-11-30 Thread Philippe Mathieu-Daudé
On 11/30/21 22:17, Jiaxun Yang wrote: > load_elf gives negative return in case of error, not zero. > > Fixes: 10e3f30 ("hw/mips/boston: Allow loading elf kernel and dtb") > Signed-off-by: Jiaxun Yang > --- > For 6.2. > --- > hw/mips/boston.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deleti

[PATCH 2/2] hw/mips/boston: Fix load_elf error detection

2021-11-30 Thread Jiaxun Yang
load_elf gives negative return in case of error, not zero. Fixes: 10e3f30 ("hw/mips/boston: Allow loading elf kernel and dtb") Signed-off-by: Jiaxun Yang --- For 6.2. --- hw/mips/boston.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/mips/boston.c b/hw/mips/boston.c