[PATCH 2/8] PPC64: convert kcalloc to kzalloc

From: Pekka Enberg
Date: Fri Aug 05 2005 - 11:11:31 EST


This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.

Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---

pSeries_reconfig.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: 2.6/arch/ppc64/kernel/pSeries_reconfig.c
===================================================================
--- 2.6.orig/arch/ppc64/kernel/pSeries_reconfig.c
+++ 2.6/arch/ppc64/kernel/pSeries_reconfig.c
@@ -111,7 +111,7 @@ static int pSeries_reconfig_add_node(con
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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/