Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 '\n' is not required in KASSERTMSG ...



details:   https://anonhg.NetBSD.org/src/rev/eea611373d7c
branches:  trunk
changeset: 987418:eea611373d7c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Sep 26 08:04:35 2021 +0000

description:
'\n' is not required in KASSERTMSG either.

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r b49d978a710c -r eea611373d7c sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Sun Sep 26 08:02:48 2021 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Sun Sep 26 08:04:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.113 2021/09/26 08:02:48 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.114 2021/09/26 08:04:35 skrll Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.113 2021/09/26 08:02:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.114 2021/09/26 08:04:35 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -300,22 +300,22 @@
                if ((pm) == pmap_kernel()) {                            \
                        KASSERTMSG(space == AARCH64_ADDRSPACE_UPPER,    \
                            "%s: kernel pm %p: va=%016lx"               \
-                           " is out of upper address space\n",         \
+                           " is out of upper address space",           \
                            __func__, (pm), (va));                      \
                        KASSERTMSG(IN_RANGE((va), VM_MIN_KERNEL_ADDRESS, \
                            VM_MAX_KERNEL_ADDRESS),                     \
                            "%s: kernel pm %p: va=%016lx"               \
-                           " is not kernel address\n",                 \
+                           " is not kernel address",                   \
                            __func__, (pm), (va));                      \
                } else {                                                \
                        KASSERTMSG(space == AARCH64_ADDRSPACE_LOWER,    \
                            "%s: user pm %p: va=%016lx"                 \
-                           " is out of lower address space\n",         \
+                           " is out of lower address space",           \
                            __func__, (pm), (va));                      \
                        KASSERTMSG(IN_RANGE((va),                       \
                            VM_MIN_ADDRESS, VM_MAX_ADDRESS),            \
                            "%s: user pm %p: va=%016lx"                 \
-                           " is not user address\n",                   \
+                           " is not user address",                     \
                            __func__, (pm), (va));                      \
                }                                                       \
        } while (0 /* CONSTCOND */)
@@ -2063,7 +2063,7 @@
                pte = *ptep;
 
                KASSERTMSG(lxpde_valid(pte),
-                   "pte is not valid: pmap=%p, asid=%d, va=%016lx\n",
+                   "pte is not valid: pmap=%p, asid=%d, va=%016lx",
                    pm, pm->pm_asid, pv->pv_va);
 
                pa = lxpde_pa(pte);
@@ -2071,7 +2071,7 @@
 
                KASSERTMSG(pp != NULL,
                    "no pmap_page of physical address:%016lx, "
-                   "pmap=%p, asid=%d, va=%016lx\n",
+                   "pmap=%p, asid=%d, va=%016lx",
                    pa, pm, pm->pm_asid, pv->pv_va);
 
                pmap_pv_lock(pp);



Home | Main Index | Thread Index | Old Index