diff options
-rw-r--r-- | arch/ppc64/kernel/pSeries_reconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/pSeries_reconfig.c b/arch/ppc64/kernel/pSeries_reconfig.c index dc2a69d412a2..58c61219d08e 100644 --- a/arch/ppc64/kernel/pSeries_reconfig.c +++ b/arch/ppc64/kernel/pSeries_reconfig.c | |||
@@ -111,7 +111,7 @@ static int pSeries_reconfig_add_node(const char *path, struct property *proplist | |||
111 | struct device_node *np; | 111 | struct device_node *np; |
112 | int err = -ENOMEM; | 112 | int err = -ENOMEM; |
113 | 113 | ||
114 | np = kcalloc(1, sizeof(*np), GFP_KERNEL); | 114 | np = kzalloc(sizeof(*np), GFP_KERNEL); |
115 | if (!np) | 115 | if (!np) |
116 | goto out_err; | 116 | goto out_err; |
117 | 117 | ||