git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove 'type' argument from access_ok() function
[sfrench/cifs-2.6.git]
/
arch
/
x86
/
kernel
/
stacktrace.c
diff --git
a/arch/x86/kernel/stacktrace.c
b/arch/x86/kernel/stacktrace.c
index 7627455047c2d58e2db96cc6af1186debc2bdff1..5c2d71a1dc069fd2b7ea2457fdd83e85c5e3383a 100644
(file)
--- a/
arch/x86/kernel/stacktrace.c
+++ b/
arch/x86/kernel/stacktrace.c
@@
-177,7
+177,7
@@
copy_stack_frame(const void __user *fp, struct stack_frame_user *frame)
{
int ret;
- if (!access_ok(
VERIFY_READ,
fp, sizeof(*frame)))
+ if (!access_ok(fp, sizeof(*frame)))
return 0;
ret = 1;