]> Git Repo - qemu.git/commit
s390-ccw: force diag 308 subcode to unsigned long
authorCornelia Huck <[email protected]>
Wed, 2 May 2018 12:52:21 +0000 (14:52 +0200)
committerThomas Huth <[email protected]>
Wed, 2 May 2018 13:35:19 +0000 (15:35 +0200)
commit63d8b5ace31c1e1f3996fe4cd551d6d377594d5a
treee522b52214fcb7f5a19117266e9528f25995d952
parentc4942ee94271052b68125ec8c06e8c71a967aad3
s390-ccw: force diag 308 subcode to unsigned long

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: [email protected]
Signed-off-by: Cornelia Huck <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Tested-by: Thomas Huth <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
pc-bios/s390-ccw/iplb.h
This page took 0.026666 seconds and 4 git commands to generate.