On 2026-10-15T11:13:15, Bin Meng <[email protected]> wrote:
> virtio: mmio: Fix private data lookup when deleting queues
>
> The virtqueue's vdev points to the functional device, while the MMIO
> register base and version are stored in its parent transport device.
> Using the child's private data can make queue deletion write to queue
> memory instead of MMIO registers.
>
> Get the parent device's private data in virtio_mmio_del_vq().
>
> Fixes: fdc4aca89ecb ("virtio: Add virtio over mmio transport driver")
> Signed-off-by: Bin Meng <[email protected]>
>
> drivers/virtio/virtio_mmio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to