Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279756
b: refs/heads/master
c: a4b1d1b
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Meyer authored and Tony Luck committed Dec 9, 2011
1 parent 15590b1 commit 4ab9971
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b82a3ecdc54465c792326522d804d2eebaae9a23
refs/heads/master: a4b1d1b3619ee2fac40cdf5ca86a4758e45b9358
3 changes: 1 addition & 2 deletions trunk/arch/ia64/sn/pci/pcibr/pcibr_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,11 @@ pcibr_bus_fixup(struct pcibus_bussoft *prom_bussoft, struct pci_controller *cont
* Allocate kernel bus soft and copy from prom.
*/

soft = kmalloc(sizeof(struct pcibus_info), GFP_KERNEL);
soft = kmemdup(prom_bussoft, sizeof(struct pcibus_info), GFP_KERNEL);
if (!soft) {
return NULL;
}

memcpy(soft, prom_bussoft, sizeof(struct pcibus_info));
soft->pbi_buscommon.bs_base = (unsigned long)
ioremap(REGION_OFFSET(soft->pbi_buscommon.bs_base),
sizeof(struct pic));
Expand Down

0 comments on commit 4ab9971

Please sign in to comment.