git: 0787c99b477e - stable/14 - pci(4): unbreak the build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Feb 2025 14:17:29 UTC
The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0787c99b477e92b6beb22d3c9e5a8c27fae29c12 commit 0787c99b477e92b6beb22d3c9e5a8c27fae29c12 Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2024-06-05 04:16:48 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-02-27 13:09:23 +0000 pci(4): unbreak the build `argsp` is not defined in `generic_pcie_unmap_resource(..)`. Remove the parameter passed to `bus_generic_unmap_resource(..)` as this parameter is never passed to `generic_pcie_unmap_resource(..)`. Fixes: 98056127ddfa ("acpi/pci/vmd: Fix a nit with nested resource mapping requests") Reported by: Jenkins (aarch64, armv6, armv7, etc) Differential Revision: https://reviews.freebsd.org/D45493 (cherry picked from commit 637ee1391957acb3ae0f68aef3e2fad76a5ae338) --- sys/dev/pci/pci_host_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/pci_host_generic.c b/sys/dev/pci/pci_host_generic.c index 4fd8c3b42250..19a2ec419ad0 100644 --- a/sys/dev/pci/pci_host_generic.c +++ b/sys/dev/pci/pci_host_generic.c @@ -672,7 +672,7 @@ generic_pcie_unmap_resource(device_t dev, device_t child, int type, case SYS_RES_MEMORY: break; default: - return (bus_generic_unmap_resource(dev, child, type, r, argsp, map)); + return (bus_generic_unmap_resource(dev, child, type, r, map)); } range = generic_pcie_containing_range(dev, type, rman_get_start(r),