]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
virtio_ring: constify virtqueue pointer for DMA helpers
authorJason Wang <jasowang@redhat.com>
Thu, 21 Aug 2025 06:46:33 +0000 (14:46 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Oct 2025 11:24:43 +0000 (07:24 -0400)
commit7d096cb3e16f09d9762ae8cef897cdbc13a40029
tree794a023f2e09f7cd3de6d0198663519157cb8b15
parent642d82e3c3f0166a0742f65356c4358c4936a1ca
virtio_ring: constify virtqueue pointer for DMA helpers

This patch constifies the virtqueue pointer for DMA helpers.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20250821064641.5025-2-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
drivers/virtio/virtio_ring.c
include/linux/virtio.h