Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Fix a silly mistake (missing return) in...
details: https://anonhg.NetBSD.org/src/rev/41a437abac0a
branches: trunk
changeset: 984924:41a437abac0a
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Jul 31 14:51:25 2021 +0000
description:
Fix a silly mistake (missing return) in the DEBUG case of the kernel pmap
case of pmap_extract().
diffstat:
sys/arch/alpha/alpha/pmap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r d7a2b0b81fe0 -r 41a437abac0a sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c Sat Jul 31 14:47:04 2021 +0000
+++ b/sys/arch/alpha/alpha/pmap.c Sat Jul 31 14:51:25 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.299 2021/07/19 16:31:19 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.300 2021/07/31 14:51:25 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001, 2007, 2008, 2020
@@ -135,7 +135,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.299 2021/07/19 16:31:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.300 2021/07/31 14:51:25 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2587,6 +2587,7 @@
printf("failed (kernel vtophys)\n");
}
}
+ return address_is_valid;
#else
return vtophys_internal(va, pap);
#endif
Home |
Main Index |
Thread Index |
Old Index