git: 66658b0f2775 - main - arm busdma: Fix parameter types to exclusion_bounce_check

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 15 Mar 2024 17:10:40 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=66658b0f2775824b2a80fb56ca15e6ceae2f8240

commit 66658b0f2775824b2a80fb56ca15e6ceae2f8240
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-03-15 17:10:07 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-03-15 17:10:07 +0000

    arm busdma: Fix parameter types to exclusion_bounce_check
    
    These are bus addresses not CPU virtual addresses.
    
    Reviewed by:    andrew
    Sponsored by:   University of Cambridge, Google, Inc.
    Differential Revision:  https://reviews.freebsd.org/D44343
---
 sys/arm/arm/busdma_machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/arm/busdma_machdep.c b/sys/arm/arm/busdma_machdep.c
index 9ae74892ebd4..44bc96bed734 100644
--- a/sys/arm/arm/busdma_machdep.c
+++ b/sys/arm/arm/busdma_machdep.c
@@ -240,7 +240,7 @@ SYSINIT(busdma, SI_SUB_KMEM+1, SI_ORDER_FIRST, busdma_init, NULL);
  * express, so we take a fast out.
  */
 static int
-exclusion_bounce_check(vm_offset_t lowaddr, vm_offset_t highaddr)
+exclusion_bounce_check(bus_addr_t lowaddr, bus_addr_t highaddr)
 {
 	int i;