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/aa58666327d8
branches:  trunk
changeset: 980215:aa58666327d8
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 e74953a2f9f5 -r aa58666327d8 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