From 2168dc15ee5bea17c16ebd5ef7178a9bc2ffd46d Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 2 Jan 2012 02:27:17 +0100 Subject: [PATCH] dpt(4): Add a missing crit_exit(). --- sys/dev/raid/dpt/dpt_control.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/raid/dpt/dpt_control.c b/sys/dev/raid/dpt/dpt_control.c index 8152ca9e9c..3bf94021c5 100644 --- a/sys/dev/raid/dpt/dpt_control.c +++ b/sys/dev/raid/dpt/dpt_control.c @@ -26,6 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $FreeBSD: src/sys/dev/dpt/dpt_control.c,v 1.16 1999/09/25 18:23:48 phk Exp $ */ /** @@ -36,9 +37,6 @@ * future. */ -#ident "$FreeBSD: src/sys/dev/dpt/dpt_control.c,v 1.16 1999/09/25 18:23:48 phk Exp $" -#ident "$DragonFly: src/sys/dev/raid/dpt/dpt_control.c,v 1.14 2006/12/28 21:23:58 dillon Exp $" - #include "opt_dpt.h" #include @@ -260,6 +258,7 @@ dpt_get_sysinfo(void) /* Get The Number Of Drives From The Bios Data Area */ if ((addr = (char *) dpt_physmap(0x0475, 1024)) == NULL) { kprintf("DPT: Cannot map BIOS address 0x0475. No sysinfo... :-(\n"); + crit_exit(); return; } dpt_sysinfo.numDrives = *addr; -- 2.41.0