Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33290
b: refs/heads/master
c: 77f3f87
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Aug 4, 2006
1 parent 8149fba commit 4527730
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6543bc0777fadf129d8ee7ac82e0090fb0480403
refs/heads/master: 77f3f879387cc5fce6c7a4ca7777c586fe6291cd
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5511,10 +5511,10 @@ int ata_device_add(const struct ata_probe_ent *ent)
err_out:
for (i = 0; i < count; i++) {
struct ata_port *ap = host_set->ports[i];

scsi_remove_host(ap->host);
ap->ops->port_stop(ap);
scsi_host_put(ap->host);
if (ap) {
ap->ops->port_stop(ap);
scsi_host_put(ap->host);
}
}
err_free_ret:
kfree(host_set);
Expand Down

0 comments on commit 4527730

Please sign in to comment.