Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2024 20:26:03 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c0ee9e5e410d - stable/13 - arm busdma: Fix parameter types to exclusion_bounce_check
Message-ID:  <202404082026.438KQ3B1040498@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

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

commit c0ee9e5e410dbdbea04e2c30e7162d8e5f6c4076
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-03-15 17:10:07 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-04-08 18:05:34 +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
    
    (cherry picked from commit 66658b0f2775824b2a80fb56ca15e6ceae2f8240)
---
 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 9a3378141207..584a71d84546 100644
--- a/sys/arm/arm/busdma_machdep.c
+++ b/sys/arm/arm/busdma_machdep.c
@@ -284,7 +284,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;
 



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