Re: [PATCH v2] virtio-mmio: add error check for platform_get_irq

2019-07-02 Thread Michael S. Tsirkin
On Tue, Jul 02, 2019 at 05:48:18PM +0300, Ihor Matushchak wrote: > 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 Thanks! pls don't make v2 a response to v1 in the future though.

Re: [PATCH v2] virtio-mmio: add error check for platform_get_irq

2019-07-02 Thread Ivan T. Ivanov
Quoting Ihor Matushchak (2019-07-02 17:48:18) > 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 Reviewed-by: Ivan T. Ivanov Thanks! > --- > Changes in v2: > Don't overwrite er

[PATCH v2] virtio-mmio: add error check for platform_get_irq

2019-07-02 Thread Ihor Matushchak
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 --- Changes in v2: Don't overwrite error code value. drivers/virtio/virtio_mmio.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion