gdth: unmap ccb_phys when scsi_add_host() fails in gdth_eisa_probe_one()
PATCH 5/28 gdth: unmap ccb_phys when scsi_add_host() fails in gdth_eisa_probe_one()
From: Roel Kluin <[email protected]>
unmap ccb_phys as well when scsi_add_host() fails
Signed-off-by Roel Kluin <[email protected]>
Cc Achim Leubner <[email protected]>
Cc James E.J. Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/gdth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/gdth.c renamed from drivers/scsi/gdth.c~gdth-unmap-ccb_phys-when-scsi_add_host-fails-in-gdth_eisa_probe_one +1 -1
@@ -4904,7 +4904,7 @@ static int __init gdth_eisa_probe_one(u1 error =scsi_add_host (shp,NULL );if (error) - goto out_free_coal_stat; + goto out_free_ccb_phys;list_add_tail (&ha->list, &gdth_instances);gdth_timer_init ();
_