Revision 834a846eee9588ac672cb504677490c28b597871 authored by Cornelia Huck on 02 May 2018, 12:52:21 UTC, committed by Michael Roth on 21 June 2018, 01:45:02 UTC
We currently pass an integer as the subcode parameter. However,
the upper bits of the register containing the subcode need to
be 0, which is not guaranteed unless we explicitly specify the
subcode to be an unsigned long value.

Fixes: d046c51dad3 ("pc-bios/s390-ccw: Get device address via diag 308/6")
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 63d8b5ace31c1e1f3996fe4cd551d6d377594d5a)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 0304f75
History
File Mode Size
COPYRIGHT -rw-r--r-- 2.8 KB
Makefile.objs -rw-r--r-- 330 bytes
arp_table.c -rw-r--r-- 3.2 KB
bootp.c -rw-r--r-- 9.8 KB
bootp.h -rw-r--r-- 3.1 KB
cksum.c -rw-r--r-- 4.5 KB
debug.h -rw-r--r-- 865 bytes
dhcpv6.c -rw-r--r-- 6.8 KB
dhcpv6.h -rw-r--r-- 652 bytes
dnssearch.c -rw-r--r-- 8.2 KB
if.c -rw-r--r-- 6.1 KB
if.h -rw-r--r-- 551 bytes
ip.h -rw-r--r-- 7.2 KB
ip6.h -rw-r--r-- 4.5 KB
ip6_icmp.c -rw-r--r-- 12.6 KB
ip6_icmp.h -rw-r--r-- 7.1 KB
ip6_input.c -rw-r--r-- 1.5 KB
ip6_output.c -rw-r--r-- 840 bytes
ip_icmp.c -rw-r--r-- 12.1 KB
ip_icmp.h -rw-r--r-- 6.3 KB
ip_input.c -rw-r--r-- 16.6 KB
ip_output.c -rw-r--r-- 4.8 KB
libslirp.h -rw-r--r-- 1.8 KB
main.h -rw-r--r-- 1.1 KB
mbuf.c -rw-r--r-- 5.0 KB
mbuf.h -rw-r--r-- 4.0 KB
misc.c -rw-r--r-- 8.6 KB
misc.h -rw-r--r-- 1.2 KB
ncsi-pkt.h -rw-r--r-- 21.0 KB
ncsi.c -rw-r--r-- 4.1 KB
ndp_table.c -rw-r--r-- 3.1 KB
sbuf.c -rw-r--r-- 4.0 KB
sbuf.h -rw-r--r-- 814 bytes
slirp.c -rw-r--r-- 45.5 KB
slirp.h -rw-r--r-- 7.0 KB
slirp_config.h -rw-r--r-- 1.9 KB
socket.c -rw-r--r-- 22.9 KB
socket.h -rw-r--r-- 5.1 KB
tcp.h -rw-r--r-- 6.0 KB
tcp_input.c -rw-r--r-- 44.9 KB
tcp_output.c -rw-r--r-- 15.2 KB
tcp_subr.c -rw-r--r-- 27.5 KB
tcp_timer.c -rw-r--r-- 8.6 KB
tcp_timer.h -rw-r--r-- 5.3 KB
tcp_var.h -rw-r--r-- 6.5 KB
tcpip.h -rw-r--r-- 3.8 KB
tftp.c -rw-r--r-- 11.1 KB
tftp.h -rw-r--r-- 939 bytes
udp.c -rw-r--r-- 9.0 KB
udp.h -rw-r--r-- 3.3 KB
udp6.c -rw-r--r-- 4.3 KB

back to top