git: df8c42f5ad12 - stable/13 - bhyve: Mark pci_de_vinput as const.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jan 2023 22:35:13 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=df8c42f5ad12f7d7f772509c987c69cf88c09f7c commit df8c42f5ad12f7d7f772509c987c69cf88c09f7c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-01-26 22:31:57 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-01-26 22:31:57 +0000 bhyve: Mark pci_de_vinput as const. I missed this in the prior fixup commit that added static. Fixes: 03851ae8cd4d bhyve: Mark pci_de_vinput as static. --- usr.sbin/bhyve/pci_virtio_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/pci_virtio_input.c b/usr.sbin/bhyve/pci_virtio_input.c index 503121d00422..00ec86a70db0 100644 --- a/usr.sbin/bhyve/pci_virtio_input.c +++ b/usr.sbin/bhyve/pci_virtio_input.c @@ -769,7 +769,7 @@ failed: return (-1); } -static struct pci_devemu pci_de_vinput = { +static const struct pci_devemu pci_de_vinput = { .pe_emu = "virtio-input", .pe_init = pci_vtinput_init, .pe_legacy_config = pci_vtinput_legacy_config,