Messages in this thread Patch in this message | | | Subject | [PATCH 2/8] PPC64: convert kcalloc to kzalloc | From | Pekka Enberg <> | Date | Fri, 5 Aug 2005 17:50:57 +0300 |
| |
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> ---
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |