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:  swild...@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;
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to