Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68935
b: refs/heads/master
c: a60ebc5
h: refs/heads/master
i:
  68933: aba1e41
  68931: d5a1314
  68927: 73b8759
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent 62a57f3 commit a8b5e97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: c131993b4cbfb6d564619e609b3d0b471ec52c5d
refs/heads/master: a60ebc52cbfafc291c6b0b89e41ecaf3685c8e2a
9 changes: 7 additions & 2 deletions trunk/arch/ia64/hp/sim/simscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,13 @@ simscsi_init(void)
return -ENOMEM;

error = scsi_add_host(host, NULL);
if (!error)
scsi_scan_host(host);
if (error)
goto free_host;
scsi_scan_host(host);
return 0;

free_host:
scsi_host_put(host);
return error;
}

Expand Down

0 comments on commit a8b5e97

Please sign in to comment.