diff options
author | Ihor Matushchak <ihor.matushchak@foobox.net> | 2019-07-02 17:48:18 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-11 23:22:29 +0300 |
commit | 5e663f0410fa2f355042209154029842ba1abd43 (patch) | |
tree | 7e977bbddad567428fc006bb0bb18a011e696792 /drivers/vhost | |
parent | 211f70ff1daa3b3bb877f0f6fa85a42ef50f8341 (diff) | |
download | linux-5e663f0410fa2f355042209154029842ba1abd43.tar.xz |
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>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions