qemu-e2k/pc-bios/s390-ccw
Thomas Huth a6e4385dea pc-bios/s390-ccw: struct tpi_info must be declared as aligned(4)
I've run into a compilation error today with the current version of GCC 8:

In file included from s390-ccw.h:49,
                 from main.c:12:
cio.h:128:1: error: alignment 1 of 'struct tpi_info' is less than 4 [-Werror=packed-not-aligned]
 } __attribute__ ((packed));
 ^
cc1: all warnings being treated as errors

Since the struct tpi_info contains an element ("struct subchannel_id schid")
which is marked as aligned(4), we've got to mark the struct tpi_info as
aligned(4), too.

CC: qemu-stable@nongnu.org
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1525774672-11913-1-git-send-email-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2018-05-14 17:10:02 +02:00
..
bootmap.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bootmap.h pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bswap.h
cio.h pc-bios/s390-ccw: struct tpi_info must be declared as aligned(4) 2018-05-14 17:10:02 +02:00
iplb.h s390-ccw: force diag 308 subcode to unsigned long 2018-05-02 15:35:19 +02:00
jump2ipl.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
libc.c pc-bios/s390-ccw: size_t should be unsigned 2018-05-02 11:27:14 +02:00
libc.h pc-bios/s390-ccw: size_t should be unsigned 2018-05-02 11:27:14 +02:00
main.c pc-bios/s390-ccw: fix loadparm initialization and int conversion 2018-05-02 11:27:14 +02:00
Makefile pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
menu.c pc-bios/s390-ccw: fix non-sequential boot entries (enum) 2018-05-02 11:27:14 +02:00
netboot.mak pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
netmain.c pc-bios/s390-ccw/net: Add support for .INS config files 2018-05-02 11:27:15 +02:00
s390-ccw.h pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
sclp.c
sclp.h
scsi.h
start.S
virtio-blkdev.c
virtio-net.c
virtio-scsi.c
virtio-scsi.h
virtio.c
virtio.h