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
/
misc
/
sgi-xp
/
xpc_partition.c
diff --git
a/drivers/misc/sgi-xp/xpc_partition.c
b/drivers/misc/sgi-xp/xpc_partition.c
index
6956f7e
..
7284413
100644
(file)
--- a/
drivers/misc/sgi-xp/xpc_partition.c
+++ b/
drivers/misc/sgi-xp/xpc_partition.c
@@
-425,7
+425,7
@@
xpc_discovery(void)
if (remote_rp == NULL)
return;
- discovered_nasids = k
zalloc(sizeof(long) * xpc_nasid_mask_nlongs
,
+ discovered_nasids = k
calloc(xpc_nasid_mask_nlongs, sizeof(long)
,
GFP_KERNEL);
if (discovered_nasids == NULL) {
kfree(remote_rp_base);