Commit 874ca6cd authored by Pekka Enberg's avatar Pekka Enberg Committed by Linus Torvalds

[PATCH] PPC64: convert kcalloc to kzalloc

This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f96cb1f0
......@@ -111,7 +111,7 @@ static int pSeries_reconfig_add_node(const char *path, struct property *proplist
struct device_node *np;
int err = -ENOMEM;
np = kcalloc(1, sizeof(*np), GFP_KERNEL);
np = kzalloc(sizeof(*np), GFP_KERNEL);
if (!np)
goto out_err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment