unmap ccb_phys as well when scsi_add_host() fails Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> --- Right? diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 185e6bc..3111503 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c @@ -4903,7 +4903,7 @@ static int __init gdth_eisa_probe_one(ushort eisa_slot) 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(); -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html