Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Style. NFCI.



details:   https://anonhg.NetBSD.org/src/rev/a96e145e1d5e
branches:  trunk
changeset: 1018250:a96e145e1d5e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jan 27 08:40:32 2021 +0000

description:
Style.  NFCI.

diffstat:

 sys/arch/arm/include/asan.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 85e439c01d43 -r a96e145e1d5e sys/arch/arm/include/asan.h
--- a/sys/arch/arm/include/asan.h       Wed Jan 27 06:59:08 2021 +0000
+++ b/sys/arch/arm/include/asan.h       Wed Jan 27 08:40:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.6 2020/09/10 14:10:47 maxv Exp $    */
+/*     $NetBSD: asan.h,v 1.7 2021/01/27 08:40:32 skrll Exp $   */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -222,9 +222,7 @@
        kasan_shadow_map((void *)kasan_kernelstart, kasan_kernelsize);
 
        /* The VAs we've created until now. */
-       vaddr_t eva;
-
-       eva = pmap_growkernel(VM_KERNEL_VM_BASE);
+       vaddr_t eva = pmap_growkernel(VM_KERNEL_VM_BASE);
        kasan_shadow_map((void *)VM_KERNEL_VM_BASE, eva - VM_KERNEL_VM_BASE);
 }
 



Home | Main Index | Thread Index | Old Index