1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00

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:	98056127dd ("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
This commit is contained in:
Enji Cooper 2024-06-04 21:16:48 -07:00
parent 03b330e191
commit 637ee13919

View File

@ -666,7 +666,7 @@ generic_pcie_unmap_resource(device_t dev, device_t child, struct resource *r,
case SYS_RES_MEMORY:
break;
default:
return (bus_generic_unmap_resource(dev, child, r, argsp, map));
return (bus_generic_unmap_resource(dev, child, r, map));
}
range = generic_pcie_containing_range(dev, type, rman_get_start(r),