diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-13 13:00:43 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:33:51 +0100 |
| commit | 3c29e188415e81c32a9107ecb2616fc6b967abc5 (patch) | |
| tree | fc0d143e9be3818af11c4d8a37cedce4c5c7637a /hw/hyperv/hyperv.c | |
| parent | 14a1bb48ea48d541ea6f373c12fb7e88d2c89d8f (diff) | |
| download | focaccia-qemu-3c29e188415e81c32a9107ecb2616fc6b967abc5.tar.gz focaccia-qemu-3c29e188415e81c32a9107ecb2616fc6b967abc5.zip | |
hw/isa/isa-bus: cleanup irq functions
The irq number is unsigned; we reject negative values. But -1 is used for the isairq array, which is declared unsigned! And since we have a definition for the number of ISA IRQs, use it. Based on a patch by Philippe Mathieu-Daudé. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/hyperv/hyperv.c')
0 files changed, 0 insertions, 0 deletions