The branch main has been updated by jhb:

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

commit 533b6ecfdcae61a47740381193e050de91f1f430
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-09 00:25:14 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-04-09 00:25:14 +0000

    Pass the computed enum of the correct type to dbg_setup_watchpoint.
    
    The two sets of constants happen to have the same values, so this is
    just a cosmetic fix.
---
 sys/arm/arm/debug_monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/arm/debug_monitor.c b/sys/arm/arm/debug_monitor.c
index b9678a5040af..7f4dd829b4f9 100644
--- a/sys/arm/arm/debug_monitor.c
+++ b/sys/arm/arm/debug_monitor.c
@@ -345,7 +345,7 @@ kdb_cpu_set_watchpoint(vm_offset_t addr, size_t size, int 
access)
                return (EINVAL);
        }
 
-       return (dbg_setup_watchpoint(addr, size, (enum dbg_access_t)access));
+       return (dbg_setup_watchpoint(addr, size, dbg_access));
 }
 
 int

Reply via email to