summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-15 11:08:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-15 11:08:48 +0000
commite7c445ec65631cf8688243305dfcc7df66a9c453 (patch)
tree0348bb57deb602a934e253b6a30a58c9f628468a /sys/dev
parentc6299271b339d7a3c068c88a8fb89249ce61d6d2 (diff)
missing return upon intr_establish failure
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ami_pci.c3
-rw-r--r--sys/dev/pci/twe_pci.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/ami_pci.c b/sys/dev/pci/ami_pci.c
index 1c61f9c9b69..49bd1928e97 100644
--- a/sys/dev/pci/ami_pci.c
+++ b/sys/dev/pci/ami_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami_pci.c,v 1.30 2005/08/24 19:21:40 marco Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.31 2005/11/15 11:08:46 mickey Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -231,6 +231,7 @@ ami_pci_attach(parent, self, aux)
printf(" at %s", intrstr);
printf("\n");
bus_space_unmap(sc->iot, sc->ioh, size);
+ return;
}
printf(": %s", intrstr);
diff --git a/sys/dev/pci/twe_pci.c b/sys/dev/pci/twe_pci.c
index 16ef3057abc..b5ee20a1ce1 100644
--- a/sys/dev/pci/twe_pci.c
+++ b/sys/dev/pci/twe_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: twe_pci.c,v 1.8 2005/08/09 04:10:13 mickey Exp $ */
+/* $OpenBSD: twe_pci.c,v 1.9 2005/11/15 11:08:47 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -101,6 +101,7 @@ twe_pci_attach(parent, self, aux)
printf(" at %s", intrstr);
printf("\n");
bus_space_unmap(sc->iot, sc->ioh, size);
+ return;
}
printf(": %s\n%s", intrstr, sc->sc_dev.dv_xname);