[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virtio: rng: Check notifier helpers for VIRTIO_CONFIG_IRQ_ID
From: |
Leo Yan |
Subject: |
Re: [PATCH] virtio: rng: Check notifier helpers for VIRTIO_CONFIG_IRQ_IDX |
Date: |
Thu, 26 Oct 2023 14:08:43 +0800 |
On Thu, Oct 26, 2023 at 01:06:21PM +0800, Leo Yan wrote:
> On Wed, Oct 25, 2023 at 11:18:41AM -0600, Mathieu Poirier wrote:
> > Since the driver doesn't support interrupts, we must return early when
> > index is set to VIRTIO_CONFIG_IRQ_IDX. Basically the same thing Viresh
> > did for "91208dd297f2 virtio: i2c: Check notifier helpers for
> > VIRTIO_CONFIG_IRQ_IDX".
> >
> > Fixes: 544f0278afca ("virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX")
> > Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
>
> Tested this patch and the vhost-user-i2c device works with it:
Sorry for typo. Here I am meaning the vhost-device-rng device.
> Tested-by: Leo Yan <leo.yan@linaro.org>