projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68d204
)
ptrace: cleanup arch_ptrace() on score
author
Namhyung Kim
<
[email protected]
>
Wed, 27 Oct 2010 22:34:01 +0000
(15:34 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 28 Oct 2010 01:03:12 +0000
(18:03 -0700)
Remove unnecessary castings.
Signed-off-by: Namhyung Kim <
[email protected]
>
Cc: Chen Liqin <
[email protected]
>
Cc: Lennox Wu <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/score/kernel/ptrace.c
patch
|
blob
|
history
diff --git
a/arch/score/kernel/ptrace.c
b/arch/score/kernel/ptrace.c
index 894dcbf72099b95b1893e9a042c398c14e4f797e..55836188b217c170c3141558d843e1d4259bf165 100644
(file)
--- 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: