projects
/
linux-2.6-block.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-block.git]
/
arch
/
arm
/
mach-ixp4xx
/
common-pci.c
diff --git
a/arch/arm/mach-ixp4xx/common-pci.c
b/arch/arm/mach-ixp4xx/common-pci.c
index bcf3df59f71b447aeb1880a9c9e7743bb9d92398..6835b17113e57f3e5c936c2150c6d33ce385fcd6 100644
(file)
--- a/
arch/arm/mach-ixp4xx/common-pci.c
+++ b/
arch/arm/mach-ixp4xx/common-pci.c
@@
-421,7
+421,7
@@
int ixp4xx_setup(int nr, struct pci_sys_data *sys)
if (nr >= 1)
return 0;
- res = k
zalloc(sizeof(*res) * 2
, GFP_KERNEL);
+ res = k
calloc(2, sizeof(*res)
, GFP_KERNEL);
if (res == NULL) {
/*
* If we're out of memory this early, something is wrong,