svn commit: r250123 - head/sys/dev/hptiop

Eitan Adler eadler at FreeBSD.org
Tue Apr 30 23:36:46 UTC 2013


Author: eadler
Date: Tue Apr 30 23:36:45 2013
New Revision: 250123
URL: http://svnweb.freebsd.org/changeset/base/250123

Log:
  Add missing braces
  
  Reviewed by:	swildner at dragonflybsd.org
  Reviewed by:	delphij

Modified:
  head/sys/dev/hptiop/hptiop.c

Modified: head/sys/dev/hptiop/hptiop.c
==============================================================================
--- head/sys/dev/hptiop/hptiop.c	Tue Apr 30 22:59:09 2013	(r250122)
+++ head/sys/dev/hptiop/hptiop.c	Tue Apr 30 23:36:45 2013	(r250123)
@@ -1642,10 +1642,11 @@ static int hptiop_internal_memalloc_mv(s
 			MVIOP_IOCTLCFG_SIZE,
 			hptiop_mv_map_ctlcfg, hba, 0)) {
 		device_printf(hba->pcidev, "bus_dmamap_load failed!\n");
-		if (hba->ctlcfg_dmat)
+		if (hba->ctlcfg_dmat) {
 			bus_dmamem_free(hba->ctlcfg_dmat,
 				hba->ctlcfg_ptr, hba->ctlcfg_dmamap);
 			bus_dma_tag_destroy(hba->ctlcfg_dmat);
+		}
 		return -1;
 	}
 


More information about the svn-src-head mailing list