m68k/bootinfo: Use kmemdup rather than duplicating its implementation
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Aug 2015 07:59:09 +0000 (09:59 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 10 Aug 2015 08:26:33 +0000 (10:26 +0200)
commit1ecb40643a9af05683b7a898d7141884bcb28a82
treede53ac640e8170130fe41fc2ec23efc2bce5f094
parent519f648e15ccded12e7ce4a26c7959c4ac46b145
m68k/bootinfo: Use kmemdup rather than duplicating its implementation

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 <a.hajda@samsung.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/bootinfo_proc.c