]> Git Repo - qemu.git/commit - hw/s390x/s390-pci-inst.c
s390x/pci: avoid sign extension in stpcifc
authorFrank Blaschka <[email protected]>
Wed, 21 Jan 2015 15:50:29 +0000 (16:50 +0100)
committerCornelia Huck <[email protected]>
Tue, 3 Feb 2015 12:42:40 +0000 (13:42 +0100)
commitc0eb33ab5428edf85a29a4f91f64d6802b6cefaa
treee8b73e4c9c9ec1402a6cb1ddb1b8a2ef5cc16fd7
parentb7022d9ac61311f92aef0994e2ab801b76d55f14
s390x/pci: avoid sign extension in stpcifc

This patch avoids sign extension and fixes a data conversion
bug in stpcifc. Both issues where found by Coverity.

Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Frank Blaschka <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/s390x/s390-pci-inst.c
This page took 0.024471 seconds and 4 git commands to generate.