Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 13:55:28 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1269873159c7 - main - LinuxKPI: fix build
Message-ID:  <202109291355.18TDtSE6014687@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit 1269873159c7fa0db3b9dbf8dadc54eec5dc0d58
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-09-29 13:50:12 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-09-29 13:50:12 +0000

    LinuxKPI: fix build
    
    Add a missing "static" for non-{i386,amd64,arm64} which was missed in
    c39eefe715b3c835ce3d91a1c1932197c23c1f3c.   This should ifx the builds.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      7 days
    X-MFC with:     c39eefe715b3c835ce3d91a1c1932197c23c1f3c
---
 sys/compat/linuxkpi/common/src/linux_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c
index 5e527fdf0f4b..73c9b67bbedb 100644
--- a/sys/compat/linuxkpi/common/src/linux_pci.c
+++ b/sys/compat/linuxkpi/common/src/linux_pci.c
@@ -849,7 +849,7 @@ linux_dma_map_phys_common(struct device *dev, vm_paddr_t phys, size_t len,
 	return (obj->dma_addr);
 }
 #else
-dma_addr_t
+static dma_addr_t
 linux_dma_map_phys_common(struct device *dev __unused, vm_paddr_t phys,
     size_t len __unused, bus_dma_tag_t dmat __unused)
 {



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