projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3f7cc
)
gdth: unmap ccb_phys when scsi_add_host() fails in gdth_eisa_probe_one()
author
Roel Kluin
<
[email protected]
>
Wed, 11 Aug 2010 01:01:10 +0000
(18:01 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Aug 2010 15:59:00 +0000
(08:59 -0700)
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]
>
drivers/scsi/gdth.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/gdth.c
b/drivers/scsi/gdth.c
index f672d6213eea8747e61d3f3ba09a99d49527586f..b860d650a563dfd6689815bce2e908c474181610 100644
(file)
--- a/
drivers/scsi/gdth.c
+++ b/
drivers/scsi/gdth.c
@@
-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_c
oal_stat
;
+ goto out_free_c
cb_phys
;
list_add_tail(&ha->list, &gdth_instances);
gdth_timer_init();