Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2022 15:42:13 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cbb6ca72525d - stable/13 - bhyve: Make pci_bars local to pci_emul.c
Message-ID:  <202210171542.29HFgDSX019321@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=cbb6ca72525daf7f1ab6c2819853e650131f9fbc

commit cbb6ca72525daf7f1ab6c2819853e650131f9fbc
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-08 15:26:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-10-17 15:41:32 +0000

    bhyve: Make pci_bars local to pci_emul.c
    
    (cherry picked from commit 07d82562d8740bd53603b4f7e0780403ae835333)
---
 usr.sbin/bhyve/pci_emul.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
index c1a21c6d03d4..bf7563871fe6 100644
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -116,8 +116,9 @@ struct pci_bar_allocation {
 	enum pcibar_type type;
 	uint64_t size;
 };
-TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars = TAILQ_HEAD_INITIALIZER(
-    pci_bars);
+
+static TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars =
+    TAILQ_HEAD_INITIALIZER(pci_bars);
 
 #define	PCI_EMUL_IOBASE		0x2000
 #define	PCI_EMUL_IOLIMIT	0x10000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210171542.29HFgDSX019321>