git: 09f6d07bc99d - stable/13 - Pass the computed enum of the correct type to dbg_setup_watchpoint.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 17:58:46 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=09f6d07bc99d46e7f1543fa94bb3af2e0c2aad5c commit 09f6d07bc99d46e7f1543fa94bb3af2e0c2aad5c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-13 17:44:28 +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. (cherry picked from commit 533b6ecfdcae61a47740381193e050de91f1f430) --- 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 b73249bedcf1..4fd8e73a053c 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