Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 19:09:37 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243622 - head/sys/dev/iwn
Message-ID:  <201211271909.qARJ9bST036522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bschmidt
Date: Tue Nov 27 19:09:36 2012
New Revision: 243622
URL: http://svnweb.freebsd.org/changeset/base/243622

Log:
  fix a panic resulting from a stray '&'
  
  MFC after:	1 week

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Tue Nov 27 19:07:28 2012	(r243621)
+++ head/sys/dev/iwn/if_iwn.c	Tue Nov 27 19:09:36 2012	(r243622)
@@ -1253,7 +1253,7 @@ iwn_dma_contig_free(struct iwn_dma_info 
 			bus_dmamap_sync(dma->tag, dma->map,
 			    BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE);
 			bus_dmamap_unload(dma->tag, dma->map);
-			bus_dmamem_free(dma->tag, &dma->vaddr, dma->map);
+			bus_dmamem_free(dma->tag, dma->vaddr, dma->map);
 			dma->vaddr = NULL;
 		}
 		bus_dmamap_destroy(dma->tag, dma->map);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211271909.qARJ9bST036522>