aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-08-10 21:01:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 11:59:00 -0400
commit2c076eea6d3005c54f6e7be5938477fdc7027686 (patch)
tree35f6c42675adae52727f9fb3b7bc883f40d1b3c1 /drivers
parentef3f7cc41280e9611a837df1fedf3f6d4d921a75 (diff)
gdth: unmap ccb_phys when scsi_add_host() fails in gdth_eisa_probe_one()
unmap ccb_phys as well when scsi_add_host() fails Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Achim Leubner <achim_leubner@adaptec.com> Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/gdth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index f672d6213eea..b860d650a563 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -4914,7 +4914,7 @@ static int __init gdth_eisa_probe_one(u16 eisa_slot)
4914 4914
4915 error = scsi_add_host(shp, NULL); 4915 error = scsi_add_host(shp, NULL);
4916 if (error) 4916 if (error)
4917 goto out_free_coal_stat; 4917 goto out_free_ccb_phys;
4918 list_add_tail(&ha->list, &gdth_instances); 4918 list_add_tail(&ha->list, &gdth_instances);
4919 gdth_timer_init(); 4919 gdth_timer_init();
4920 4920