Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2024 13:56:33 GMT
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 637ee1391957 - main - pci(4): unbreak the build
Message-ID:  <202406051356.455DuXOB084126@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=637ee1391957acb3ae0f68aef3e2fad76a5ae338

commit 637ee1391957acb3ae0f68aef3e2fad76a5ae338
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2024-06-05 04:16:48 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2024-06-05 13:55:33 +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
---
 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 d97a7597df25..c3dba9d72484 100644
--- a/sys/dev/pci/pci_host_generic.c
+++ b/sys/dev/pci/pci_host_generic.c
@@ -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),



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