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
Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git]
/
arch
/
powerpc
/
kernel
/
signal_32.c
diff --git
a/arch/powerpc/kernel/signal_32.c
b/arch/powerpc/kernel/signal_32.c
index 933ab95805a6c43729b1699d5bc9646d94382051..00a9c9cd6d421c4fc1536fdb9e527cd9e78a45a6 100644
(file)
--- a/
arch/powerpc/kernel/signal_32.c
+++ b/
arch/powerpc/kernel/signal_32.c
@@
-1048,7
+1048,7
@@
SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx,
if (new_ctx == NULL)
return 0;
if (!access_ok(new_ctx, ctx_size) ||
if (new_ctx == NULL)
return 0;
if (!access_ok(new_ctx, ctx_size) ||
- fault_in_
pages_readable((u8
__user *)new_ctx, ctx_size))
+ fault_in_
readable((char
__user *)new_ctx, ctx_size))
return -EFAULT;
/*
return -EFAULT;
/*
@@
-1239,7
+1239,7
@@
SYSCALL_DEFINE3(debug_setcontext, struct ucontext __user *, ctx,
#endif
if (!access_ok(ctx, sizeof(*ctx)) ||
#endif
if (!access_ok(ctx, sizeof(*ctx)) ||
- fault_in_
pages_readable((u8
__user *)ctx, sizeof(*ctx)))
+ fault_in_
readable((char
__user *)ctx, sizeof(*ctx)))
return -EFAULT;
/*
return -EFAULT;
/*