s390: remove misleading comment
PATCH 1/1 s390: remove misleading comment
The comment talks about a non-ELF object while the example gives ELF object.
Signed-off-by Michael Tokarev <[email protected]>
--- hw/s390x/ipl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/ipl.c +1 -1
@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-ccw.img) */ +/* Try to load non-ELF file */ bios_size =load_image_targphys (bios_filename,ZIPL_IMAGE_START ,4096 ); ipl->bios_start_addr =ZIPL_IMAGE_START ;
Signature · 1 line
2.1.4
Quoted 14 lines · Michael Tokarev
The comment talks about a non-ELF object while the example gives ELF object.
Signed-off-by Michael Tokarev <[email protected]>--- hw/s390x/ipl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/s390x/ipl.c +0
-0
hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 112
Quoted 8 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-ccw.img) */ +/* Try to load non-ELF file */ bios_size =load_image_targphys (bios_filename,ZIPL_IMAGE_START ,4096 ); ipl->bios_start_addr =ZIPL_IMAGE_START ;
Reviewed-by Thomas Huth <[email protected]>
Quoted 13 lines · On Tue, 16 Feb 2016 09:30:35 +0300 Michael Tokarev <[email protected]> wrote:
The comment talks about a non-ELF object while the example gives ELF object.
Signed-off-by Michael Tokarev <[email protected]>--- hw/s390x/ipl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/s390x/ipl.c +0
-0
hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 112
Quoted 8 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-ccw.img) */ +/* Try to load non-ELF file */ bios_size =load_image_targphys (bios_filename,ZIPL_IMAGE_START ,4096 ); ipl->bios_start_addr =ZIPL_IMAGE_START ;
Acked-by Cornelia Huck <[email protected]>