Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add a missing mutex_spin_exit().



details:   https://anonhg.NetBSD.org/src/rev/7adff4321be5
branches:  trunk
changeset: 951564:7adff4321be5
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Feb 06 12:55:34 2021 +0000

description:
Add a missing mutex_spin_exit().

diffstat:

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

diffs (26 lines):

diff -r a684787d18e6 -r 7adff4321be5 sys/dev/pci/sv.c
--- a/sys/dev/pci/sv.c  Sat Feb 06 12:53:36 2021 +0000
+++ b/sys/dev/pci/sv.c  Sat Feb 06 12:55:34 2021 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: sv.c,v 1.58 2020/04/19 08:18:19 isaki Exp $ */
+/*      $NetBSD: sv.c,v 1.59 2021/02/06 12:55:34 isaki Exp $ */
 /*      $OpenBSD: sv.c,v 1.2 1998/07/13 01:50:15 csapuntz Exp $ */
 
 /*
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.58 2020/04/19 08:18:19 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sv.c,v 1.59 2021/02/06 12:55:34 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1236,6 +1236,7 @@
                        }
                }
 
+               mutex_spin_exit(&sc->sc_intr_lock);
                return error;
        }
 



Home | Main Index | Thread Index | Old Index