Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64331
b: refs/heads/master
c: be760a9
h: refs/heads/master
i:
  64329: 8a12465
  64327: 0fbd48e
v: v3
  • Loading branch information
Mariusz Kozlowski authored and Pierre Ossman committed Aug 23, 2007
1 parent a4a5c6b commit ef0c4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 733cb1e44047ed88f97754fbfd5173741b6dca1a
refs/heads/master: be760a9de881d84994403bb93177bcb95319c4cb
4 changes: 1 addition & 3 deletions trunk/drivers/mmc/core/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
{
struct mmc_host *host;

host = kmalloc(sizeof(struct mmc_host) + extra, GFP_KERNEL);
host = kzalloc(sizeof(struct mmc_host) + extra, GFP_KERNEL);
if (!host)
return NULL;

memset(host, 0, sizeof(struct mmc_host) + extra);

host->parent = dev;
host->class_dev.parent = dev;
host->class_dev.class = &mmc_host_class;
Expand Down

0 comments on commit ef0c4e0

Please sign in to comment.