Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;