Skip to content

Commit

Permalink
pci(4): unbreak the build
Browse files Browse the repository at this point in the history
`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:	9805612 ("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
  • Loading branch information
ngie-eign committed Jun 5, 2024
1 parent 03b330e commit 637ee13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/pci/pci_host_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 637ee13

Please sign in to comment.