Skip to contentSkip to conversation

s390: remove misleading comment

PATCH In review Michael Tokarev 3 participants 3 messages Feb 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: remove misleading comment

The comment talks about a non-ELF object while the example gives ELF object.

---
 hw/s390x/ipl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/ipl.c +1 -1
index c9cf7cc..2213405 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Michael Tokarev

The comment talks about a non-ELF object while the example gives ELF object.

---
 hw/s390x/ipl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/ipl.c +0 -0
index c9cf7cc..2213405 100644

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 on v1 1/1
#2 lore raw
In reply to Michael Tokarev
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.

---
 hw/s390x/ipl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/s390x/ipl.c +0 -0
index c9cf7cc..2213405 100644

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;