mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: Achim Leubner <[email protected]> Cc: James E.J. Bottomley <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ef3f7cc412
commit
2c076eea6d
1 changed files with 1 additions and 1 deletions
|
|
@ -4914,7 +4914,7 @@ static int __init gdth_eisa_probe_one(u16 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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue