Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nvmm Complete rev1.26: reset nvmm_impl to NULL in nv...



details:   https://anonhg.NetBSD.org/src/rev/e5b560286a5c
branches:  trunk
changeset: 933184:e5b560286a5c
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu May 21 07:43:23 2020 +0000

description:
Complete rev1.26: reset nvmm_impl to NULL in nvmm_fini().

diffstat:

 sys/dev/nvmm/nvmm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e4c02dd498a0 -r e5b560286a5c sys/dev/nvmm/nvmm.c
--- a/sys/dev/nvmm/nvmm.c       Thu May 21 07:36:16 2020 +0000
+++ b/sys/dev/nvmm/nvmm.c       Thu May 21 07:43:23 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm.c,v 1.28 2020/05/09 08:39:07 maxv Exp $   */
+/*     $NetBSD: nvmm.c,v 1.29 2020/05/21 07:43:23 maxv Exp $   */
 
 /*
  * Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.28 2020/05/09 08:39:07 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm.c,v 1.29 2020/05/21 07:43:23 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -998,6 +998,7 @@
        }
 
        (*nvmm_impl->fini)();
+       nvmm_impl = NULL;
 }
 
 /* -------------------------------------------------------------------------- */



Home | Main Index | Thread Index | Old Index