Tag: 1ecb40643a9af05683b7a898d7141884bcb28a82

m68k/bootinfo: 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 Signed-off-by: Geert Uytterhoeven — arch/m68k/kernel/bootinfo_proc.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-)   diff –git a/arch/m68k/kernel/bootinfo_proc.c b/arch/m68k/kernel/bootinfo_proc.c index 7ee853e..2a33a96 100644 — a/arch/m68k/kernel/bootinfo_proc.c +++ b/arch/m68k/kernel/bootinfo_proc.c @@ -62,12 +62,10 @@ static int __init init_bootinfo_procfs(void) …

Continue reading