Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135794
b: refs/heads/master
c: 4553573
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 13, 2009
1 parent 65e269e commit 18e4fbc
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: bedd30d986a05e32dc3eab874e4b9ed8a38058bb
refs/heads/master: 4553573277906901f62f73c0432b332c53de5e2c
4 changes: 1 addition & 3 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,15 +737,13 @@ int request_irq(unsigned int irq, irq_handler_t handler,
if (!handler)
return -EINVAL;

action = kmalloc(sizeof(struct irqaction), GFP_KERNEL);
action = kzalloc(sizeof(struct irqaction), GFP_KERNEL);
if (!action)
return -ENOMEM;

action->handler = handler;
action->flags = irqflags;
cpus_clear(action->mask);
action->name = devname;
action->next = NULL;
action->dev_id = dev_id;

retval = __setup_irq(irq, desc, action);
Expand Down

0 comments on commit 18e4fbc

Please sign in to comment.