From: Namhyung Kim Date: Wed, 27 Oct 2010 22:34:01 +0000 (-0700) Subject: ptrace: cleanup arch_ptrace() on score X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41a2437eb1d175efe1958e283241a66a871dbdea;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ptrace: cleanup arch_ptrace() on score Remove unnecessary castings. Signed-off-by: Namhyung Kim Cc: Chen Liqin Cc: Lennox Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/score/kernel/ptrace.c b/arch/score/kernel/ptrace.c index 894dcbf72099..55836188b217 100644 --- a/arch/score/kernel/ptrace.c +++ b/arch/score/kernel/ptrace.c @@ -336,14 +336,14 @@ arch_ptrace(struct task_struct *child, long request, ret = copy_regset_to_user(child, &user_score_native_view, REGSET_GENERAL, 0, sizeof(struct pt_regs), - (void __user *)datap); + datap); break; case PTRACE_SETREGS: ret = copy_regset_from_user(child, &user_score_native_view, REGSET_GENERAL, 0, sizeof(struct pt_regs), - (const void __user *)datap); + datap); break; default: