git: 9017870541da - main - Add missing const after 6c4f95161d6e
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Oct 2021 12:21:14 UTC
The branch main has been updated by arichardson: URL: https://cgit.FreeBSD.org/src/commit/?id=9017870541daf46358c6cbaa3d4a40e1bffaaaa1 commit 9017870541daf46358c6cbaa3d4a40e1bffaaaa1 Author: Alex Richardson <arichardson@FreeBSD.org> AuthorDate: 2021-10-11 12:20:36 +0000 Commit: Alex Richardson <arichardson@FreeBSD.org> CommitDate: 2021-10-11 12:20:56 +0000 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);