Module Name: src
Committed By: riastradh
Date: Wed Apr 8 13:47:06 UTC 2015
Modified Files:
src/sys/dev/pci: viornd.c
Log Message:
Don't forget to bus_dmamap_unload.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/viornd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/viornd.c
diff -u src/sys/dev/pci/viornd.c:1.5 src/sys/dev/pci/viornd.c:1.6
--- src/sys/dev/pci/viornd.c:1.5 Thu Nov 6 01:42:01 2014
+++ src/sys/dev/pci/viornd.c Wed Apr 8 13:47:06 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: viornd.c,v 1.5 2014/11/06 01:42:01 pooka Exp $ */
+/* $NetBSD: viornd.c,v 1.6 2015/04/08 13:47:06 riastradh Exp $ */
/* $OpenBSD: viornd.c,v 1.1 2014/01/21 21:14:58 sf Exp $ */
/*
@@ -205,6 +205,7 @@ viornd_attach( device_t parent, device_t
viornd_get(VIORND_BUFSIZE, sc);
return;
vio_failed:
+ bus_dmamap_unload(vsc->sc_dmat, sc->sc_dmamap);
load_failed:
bus_dmamap_destroy(vsc->sc_dmat, sc->sc_dmamap);
create_failed: