git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] PPC64: convert kcalloc to kzalloc
[sfrench/cifs-2.6.git]
/
arch
/
ppc64
/
kernel
/
pSeries_reconfig.c
diff --git
a/arch/ppc64/kernel/pSeries_reconfig.c
b/arch/ppc64/kernel/pSeries_reconfig.c
index dc2a69d412a204820546107a47ab7c676036a7de..58c61219d08e0765646450c30cba107936db01ab 100644
(file)
--- a/
arch/ppc64/kernel/pSeries_reconfig.c
+++ b/
arch/ppc64/kernel/pSeries_reconfig.c
@@
-111,7
+111,7
@@
static int pSeries_reconfig_add_node(const char *path, struct property *proplist
struct device_node *np;
int err = -ENOMEM;
- np = k
calloc(1,
sizeof(*np), GFP_KERNEL);
+ np = k
zalloc(
sizeof(*np), GFP_KERNEL);
if (!np)
goto out_err;