diff options
author | Wissam Shoukair <wissams@mellanox.com> | 2016-03-24 18:42:59 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-04-12 13:40:50 +0100 |
commit | 0eea8b5c3bd269f2911001fddb7a2823a3658d10 (patch) | |
tree | 73f6220aae7bff9668473ce6214d1d084ae68fb4 /src/drivers/infiniband | |
parent | ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65 (diff) | |
download | ipxe-0eea8b5c3bd269f2911001fddb7a2823a3658d10.tar.gz |
[golan] Add missing iounmap()
Signed-off-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband')
-rwxr-xr-x | src/drivers/infiniband/golan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/infiniband/golan.c b/src/drivers/infiniband/golan.c index 64c75526b..ba5a52495 100755 --- a/src/drivers/infiniband/golan.c +++ b/src/drivers/infiniband/golan.c @@ -2446,6 +2446,7 @@ err_golan_probe_alloc_ibdev: golan_bring_down ( golan ); err_golan_bringup: err_fw_ver_cmdif: + iounmap( golan->iseg ); golan_free_pages( &golan->pages ); err_golan_golan_init_pages: free ( golan ); @@ -2474,7 +2475,7 @@ static void golan_remove_normal ( struct pci_device *pci ) { } golan_bring_down(golan); - + iounmap( golan->iseg ); golan_free_pages( &golan->pages ); free(golan); } |