From 9017870541daf46358c6cbaa3d4a40e1bffaaaa1 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Mon, 11 Oct 2021 13:20:36 +0100 Subject: [PATCH] Add missing const after 6c4f95161d6e I accidentally didn't include hunk in the committed patch. Fixes: 6c4f95161d6e ("virtio: make the write_config buffer argument const") --- sys/dev/virtio/mmio/virtio_mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtio/mmio/virtio_mmio.c b/sys/dev/virtio/mmio/virtio_mmio.c index cc89947c4d00..5e17cf59a84a 100644 --- a/sys/dev/virtio/mmio/virtio_mmio.c +++ b/sys/dev/virtio/mmio/virtio_mmio.c @@ -741,7 +741,7 @@ vtmmio_write_dev_config(device_t dev, bus_size_t offset, { struct vtmmio_softc *sc; bus_size_t off; - uint8_t *s; + const uint8_t *s; int size; sc = device_get_softc(dev);