Skip to content
Commit 5e663f04 authored by Ihor Matushchak's avatar Ihor Matushchak Committed by Michael S. Tsirkin
Browse files

virtio-mmio: add error check for platform_get_irq



in vm_find_vqs() irq has a wrong type
so, in case of no IRQ resource defined,
wrong parameter will be passed to request_irq()

Signed-off-by: default avatarIhor Matushchak <ihor.matushchak@foobox.net>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarIvan T. Ivanov <iivanov.xz@gmail.com>
parent 211f70ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment