Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic add missing kthread_exit



details:   https://anonhg.NetBSD.org/src/rev/1d2f4d58a80b
branches:  trunk
changeset: 457000:1d2f4d58a80b
user:      tnn <tnn%NetBSD.org@localhost>
date:      Wed Jun 05 20:32:28 2019 +0000

description:
add missing kthread_exit

diffstat:

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

diffs (26 lines):

diff -r c7dd4c73ddb3 -r 1d2f4d58a80b sys/dev/ic/ssdfb.c
--- a/sys/dev/ic/ssdfb.c        Wed Jun 05 17:50:06 2019 +0000
+++ b/sys/dev/ic/ssdfb.c        Wed Jun 05 20:32:28 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $ */
+/* $NetBSD: ssdfb.c,v 1.6 2019/06/05 20:32:28 tnn Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.6 2019/06/05 20:32:28 tnn Exp $");
 
 #include "opt_ddb.h"
 
@@ -854,6 +854,7 @@
        }
 
        mutex_exit(&sc->sc_cond_mtx);
+       kthread_exit(0);
 }
 
 static void



Home | Main Index | Thread Index | Old Index