ntb: iounmap MW reg and vbase in error path

The MW regbase and vbase(s) were not being freed if an error occurred
in the vbase allocation loop. This is corrected by updating the error
path for the allocation loop to err4.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jon Mason <jdmason@kudzu.us>

Jon Mason 2f4eb6a8 d4a4f75c

Changed files
+1 -1
drivers
ntb
+1 -1
drivers/ntb/ntb_hw.c
··· 1778 1778 dev_warn(&pdev->dev, "Cannot remap BAR %d\n", 1779 1779 MW_TO_BAR(i)); 1780 1780 rc = -EIO; 1781 - goto err3; 1781 + goto err4; 1782 1782 } 1783 1783 } 1784 1784