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:Ihor Matushchak <ihor.matushchak@foobox.net> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Reviewed-by:
Ivan T. Ivanov <iivanov.xz@gmail.com>
Showing
Please register or sign in to comment