Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix missing splx calls. One of them from OpenBSD.



details:   https://anonhg.NetBSD.org/src/rev/9b40c9bebcdb
branches:  trunk
changeset: 508334:9b40c9bebcdb
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Apr 09 23:51:28 2001 +0000

description:
Fix missing splx calls. One of them from OpenBSD.

diffstat:

 sys/dev/ic/aic7xxx.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 4308101731f2 -r 9b40c9bebcdb sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c      Mon Apr 09 22:31:16 2001 +0000
+++ b/sys/dev/ic/aic7xxx.c      Mon Apr 09 23:51:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx.c,v 1.67 2001/03/07 23:07:13 thorpej Exp $     */
+/*     $NetBSD: aic7xxx.c,v 1.68 2001/04/09 23:51:28 fvdl Exp $        */
 
 /*
  * Generic driver for the aic7xxx based adaptec SCSI controllers
@@ -4782,6 +4782,7 @@
 
                                /* Will clear us from the bus */
                                restart_sequencer(ahc);
+                               splx(s);
                                return;
                        }
 
@@ -4808,6 +4809,7 @@
                                printf("%s: Hung target selection\n",
                                       ahc_name(ahc));
                                restart_sequencer(ahc);
+                               splx(s);
                                return;
                        }
 



Home | Main Index | Thread Index | Old Index