[PATCH] PPC64: convert kcalloc to kzalloc

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>
This commit is contained in:
Pekka Enberg 2005-09-06 15:18:32 -07:00 committed by Linus Torvalds
parent f96cb1f058
commit 874ca6cd3f
1 changed files with 1 additions and 1 deletions

View File

@ -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;