]> git.proxmox.com Git - qemu.git/commit
target-s390x: Fix wrong comparison in interrupt handling
authorStefan Weil <sw@weilnetz.de>
Sun, 3 Feb 2013 20:33:16 +0000 (21:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 4 Feb 2013 21:24:15 +0000 (15:24 -0600)
commitb22dd1243f38286263d40496ce5298a8a7d96eea
tree6d3b5fa643572ba3a2392bccf74f6f2b1501a049
parent0123c486367ab77c3c5ed349616a862eb474a03f
target-s390x: Fix wrong comparison in interrupt handling

gcc with -Wextra complains about an ordered pointer comparison:

target-s390x/helper.c:660:27: warning:
 ordered comparison of pointer with integer zero [-Wextra]

Obviously the index was missing in the code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-s390x/helper.c