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: NIhor Matushchak <ihor.matushchak@foobox.net> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Reviewed-by: NIvan T. Ivanov <iivanov.xz@gmail.com>
Showing
想要评论请 注册 或 登录