Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42953
b: refs/heads/master
c: a0172a6
h: refs/heads/master
i:
  42951: f90646f
v: v3
  • Loading branch information
Yan Burman authored and Linus Torvalds committed Dec 7, 2006
1 parent 2b17d68 commit 132c804
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: b593e48d2bf09c40c0f5165f2f2a10cc3983ea51
refs/heads/master: a0172a6dd906cf813cd56aeb133a85abf9a36c8e
4 changes: 1 addition & 3 deletions trunk/arch/arm26/kernel/ecard.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,10 @@ ecard_probe(int slot, card_type_t type)
struct ex_ecid cid;
int i, rc = -ENOMEM;

ec = kmalloc(sizeof(ecard_t), GFP_KERNEL);
ec = kzalloc(sizeof(ecard_t), GFP_KERNEL);
if (!ec)
goto nomem;

memset(ec, 0, sizeof(ecard_t));

ec->slot_no = slot;
ec->type = type;
ec->irq = NO_IRQ;
Expand Down

0 comments on commit 132c804

Please sign in to comment.