projects
/
openwrt
/
staging
/
blogic.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 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;