Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73336
b: refs/heads/master
c: 57d7556
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Josh Boyer committed Nov 1, 2007
1 parent 2287718 commit ca4d6f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: d1dfc35d3a62122b85ca975b80dcbf4a0da0bebc
refs/heads/master: 57d75561be5496289601b2c94787ec38c718fcae
7 changes: 6 additions & 1 deletion trunk/arch/ppc/platforms/4xx/luan.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,14 @@ luan_setup_hoses(void)

/* Allocate hoses for PCIX1 and PCIX2 */
hose1 = pcibios_alloc_controller();
if (!hose1)
return;

hose2 = pcibios_alloc_controller();
if (!hose1 || !hose2)
if (!hose2) {
pcibios_free_controller(hose1);
return;
}

/* Setup PCIX1 */
hose1->first_busno = 0;
Expand Down

0 comments on commit ca4d6f2

Please sign in to comment.