Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65630
b: refs/heads/master
c: 9f2fcf9
h: refs/heads/master
v: v3
  • Loading branch information
Mariusz Kozlowski authored and Pierre Ossman committed Sep 23, 2007
1 parent 5c0c3f9 commit 00fad89
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: eb6594689226663968ef0a9fd71ec5e1e4e04f9c
refs/heads/master: 9f2fcf99394b34769e3243a7f42a0ba8d21fc774
4 changes: 1 addition & 3 deletions trunk/drivers/mmc/core/sdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,10 @@ struct sdio_func *sdio_alloc_func(struct mmc_card *card)
{
struct sdio_func *func;

func = kmalloc(sizeof(struct sdio_func), GFP_KERNEL);
func = kzalloc(sizeof(struct sdio_func), GFP_KERNEL);
if (!func)
return ERR_PTR(-ENOMEM);

memset(func, 0, sizeof(struct sdio_func));

func->card = card;

device_initialize(&func->dev);
Expand Down

0 comments on commit 00fad89

Please sign in to comment.