git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix numerous kcalloc() calls, convert to kzalloc()
[safe/jmp/linux-2.6]
/
drivers
/
pcmcia
/
at91_cf.c
diff --git
a/drivers/pcmcia/at91_cf.c
b/drivers/pcmcia/at91_cf.c
index
52d4a38
..
3334f22
100644
(file)
--- a/
drivers/pcmcia/at91_cf.c
+++ b/
drivers/pcmcia/at91_cf.c
@@
-230,7
+230,7
@@
static int __init at91_cf_probe(struct platform_device *pdev)
if (!io)
return -ENODEV;
- cf = k
calloc(1,
sizeof *cf, GFP_KERNEL);
+ cf = k
zalloc(
sizeof *cf, GFP_KERNEL);
if (!cf)
return -ENOMEM;