Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42737
b: refs/heads/master
c: 8bcbdf6
h: refs/heads/master
i:
  42735: 37f0b28
v: v3
  • Loading branch information
Yan Burman authored and Linus Torvalds committed Dec 7, 2006
1 parent 46c64c0 commit fe6aa03
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 58e14b148ddb56f0bf999965d6279932ed4a00bc
refs/heads/master: 8bcbdf603bc4bf24c2bcfa071871afb03dd3ae80
3 changes: 1 addition & 2 deletions trunk/arch/m68k/amiga/chipram.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ void *amiga_chip_alloc(unsigned long size, const char *name)
#ifdef DEBUG
printk("amiga_chip_alloc: allocate %ld bytes\n", size);
#endif
res = kmalloc(sizeof(struct resource), GFP_KERNEL);
res = kzalloc(sizeof(struct resource), GFP_KERNEL);
if (!res)
return NULL;
memset(res, 0, sizeof(struct resource));
res->name = name;

if (allocate_resource(&chipram_res, res, size, 0, UINT_MAX, PAGE_SIZE, NULL, NULL) < 0) {
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/m68k/atari/hades-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,9 @@ struct pci_bus_info * __init init_hades_pci(void)
* Allocate memory for bus info structure.
*/

bus = kmalloc(sizeof(struct pci_bus_info), GFP_KERNEL);
bus = kzalloc(sizeof(struct pci_bus_info), GFP_KERNEL);
if (!bus)
return NULL;
memset(bus, 0, sizeof(struct pci_bus_info));

/*
* Claim resources. The m68k has no separate I/O space, both
Expand Down

0 comments on commit fe6aa03

Please sign in to comment.