On 05/02/2018 08:52 AM, Cornelia Huck wrote:
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-sta...@nongnu.org Signed-off-by: Cornelia Huck<coh...@redhat.com>
Sorry for my ignorance, but is there a C standard that says upper bits of an int is not guaranteed to be 0?
Thanks Farhan