Tag: 2e16acc5ee3626bcd32e2252c8260b65efde7b36

powerpc/pseries: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Reviewed-by: Nathan Fontenot Signed-off-by: Michael Ellerman — arch/powerpc/platforms/pseries/hotplug-memory.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c index 0ced387..e9ff44c 100644 — a/arch/powerpc/platforms/pseries/hotplug-memory.c +++ b/arch/powerpc/platforms/pseries/hotplug-memory.c @@ -92,13 +92,12 @@ static …

Continue reading