Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137554
b: refs/heads/master
c: b23c7a4
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Russell King committed Mar 24, 2009
1 parent 3f78753 commit dd79490
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ecbf61e7357d5c7047c813edd6983902d158688c
refs/heads/master: b23c7a427e4b3764ad686a46de89ab652811c50a
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-iop13xx/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,10 @@ int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
which_atu = 0;
}

if (!which_atu)
if (!which_atu) {
kfree(res);
return 0;
}

switch(which_atu) {
case IOP13XX_INIT_ATU_ATUX:
Expand Down Expand Up @@ -1074,6 +1076,7 @@ int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
sys->map_irq = iop13xx_pcie_map_irq;
break;
default:
kfree(res);
return 0;
}

Expand Down

0 comments on commit dd79490

Please sign in to comment.