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
..
Makefile pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +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 pc-bios/s390-ccw: Move byteswap functions to a separate header 2017-07-14 12:29:48 +02:00
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
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 s390-ccw: set cp_receive mask only when needed and consume pending service irqs 2018-02-26 07:56:55 +01:00
sclp.h pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info 2017-05-02 15:08:54 +02:00
scsi.h pc-bios/s390-ccw: Get Block Limits VPD device data 2017-05-19 12:29:01 +02:00
start.S pc-bios/s390-ccw: zero out bss section 2017-12-14 17:56:54 +01:00
virtio-blkdev.c pc-bios/s390-ccw: Move virtio-block related functions into a separate file 2017-07-14 12:29:48 +02:00
virtio-net.c pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00
virtio-scsi.c pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting 2017-11-20 10:35:12 +01:00
virtio-scsi.h pc-bios/s390-ccw: Build a reasonable max_sectors limit 2017-05-19 12:29:01 +02:00
virtio.c pc-bios/s390-ccw: Increase virtio timeout to 30 seconds 2018-04-03 10:03:38 +02:00
virtio.h pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00