projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96cb1f
)
[PATCH] PPC64: convert kcalloc to kzalloc
author
Pekka Enberg
<penberg@cs.helsinki.fi>
Tue, 6 Sep 2005 22:18:32 +0000
(15:18 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:45 +0000
(16:57 -0700)
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_reconfig.c
patch
|
blob
|
history
diff --git
a/arch/ppc64/kernel/pSeries_reconfig.c
b/arch/ppc64/kernel/pSeries_reconfig.c
index
dc2a69d
..
58c6121
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;