projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
drivers
/
irqchip
/
irq-s3c24xx.c
diff --git
a/drivers/irqchip/irq-s3c24xx.c
b/drivers/irqchip/irq-s3c24xx.c
index
ec0e6a8
..
f6fd57e
100644
(file)
--- a/
drivers/irqchip/irq-s3c24xx.c
+++ b/
drivers/irqchip/irq-s3c24xx.c
@@
-1261,7
+1261,7
@@
static int __init s3c_init_intc_of(struct device_node *np,
return -ENOMEM;
intc->domain = domain;
- intc->irqs = k
zalloc(sizeof(struct s3c_irq_data) * 32
,
+ intc->irqs = k
calloc(32, sizeof(struct s3c_irq_data)
,
GFP_KERNEL);
if (!intc->irqs) {
kfree(intc);