Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 23:36:46 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250123 - head/sys/dev/hptiop
Message-ID:  <201304302336.r3UNakAB056929@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
 	}
 



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