Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[golan] Add missing iounmap()
Signed-off-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
Wissam Shoukair authored and mcb30 committed Apr 12, 2016
1 parent ffd959a commit 0eea8b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/drivers/infiniband/golan.c
Expand Up @@ -2446,6 +2446,7 @@ static int golan_probe_normal ( struct pci_device *pci ) {
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 );
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 0eea8b5

Please sign in to comment.