git: 1269873159c7 - main - LinuxKPI: fix build
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Sep 29 13:55:29 UTC 2021
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=1269873159c7fa0db3b9dbf8dadc54eec5dc0d58
commit 1269873159c7fa0db3b9dbf8dadc54eec5dc0d58
Author: Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-09-29 13:50:12 +0000
Commit: Bjoern A. Zeeb <bz at 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)
{
More information about the dev-commits-src-all
mailing list