Commit ff5c82d0 authored by Roel Kluin's avatar Roel Kluin Committed by james toy

unmap ccb_phys as well when scsi_add_host() fails

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Achim Leubner <achim_leubner@adaptec.com>
Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent d0dcbd6d
...@@ -4903,7 +4903,7 @@ static int __init gdth_eisa_probe_one(ushort eisa_slot) ...@@ -4903,7 +4903,7 @@ static int __init gdth_eisa_probe_one(ushort eisa_slot)
error = scsi_add_host(shp, NULL); error = scsi_add_host(shp, NULL);
if (error) if (error)
goto out_free_coal_stat; goto out_free_ccb_phys;
list_add_tail(&ha->list, &gdth_instances); list_add_tail(&ha->list, &gdth_instances);
gdth_timer_init(); gdth_timer_init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment