From e7c445ec65631cf8688243305dfcc7df66a9c453 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 15 Nov 2005 11:08:48 +0000 Subject: missing return upon intr_establish failure --- sys/dev/pci/ami_pci.c | 3 ++- sys/dev/pci/twe_pci.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.2.3