[Midnightbsd-cvs] src [9461] trunk/sys/dev/hptiop/hptiop.c: add missing braces
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 5 14:38:12 EST 2017
Revision: 9461
http://svnweb.midnightbsd.org/src/?rev=9461
Author: laffer1
Date: 2017-03-05 14:38:12 -0500 (Sun, 05 Mar 2017)
Log Message:
-----------
add missing braces
Modified Paths:
--------------
trunk/sys/dev/hptiop/hptiop.c
Modified: trunk/sys/dev/hptiop/hptiop.c
===================================================================
--- trunk/sys/dev/hptiop/hptiop.c 2017-03-05 19:37:44 UTC (rev 9460)
+++ trunk/sys/dev/hptiop/hptiop.c 2017-03-05 19:38:12 UTC (rev 9461)
@@ -1704,10 +1704,11 @@
hba->u.mvfrey.internal_mem_size,
hptiop_mvfrey_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 Midnightbsd-cvs
mailing list