Re: [V9fs-developer] [PATCH] net/9p: fix error path of p9_virtio_probe

2018-05-24 Thread Greg Kurz
On Thu, 24 May 2018 11:10:21 +0100 Jean-Philippe Brucker wrote: > Currently when virtio_find_single_vq fails, we go through del_vqs which > throws a warning (Trying to free already-free IRQ). Skip del_vqs if vq > allocation failed. > > Signed-off-by: Jean-Philippe Brucker > --- Reviewed-by: Gr

[PATCH] net/9p: fix error path of p9_virtio_probe

2018-05-24 Thread Jean-Philippe Brucker
Currently when virtio_find_single_vq fails, we go through del_vqs which throws a warning (Trying to free already-free IRQ). Skip del_vqs if vq allocation failed. Signed-off-by: Jean-Philippe Brucker --- net/9p/trans_virtio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/n