summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-13 17:23:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 00:16:29 -0500
commitce3959604878c1c693979ec552069dc8bdb5ccde (patch)
tree8f7250df92eacb55747fc8bce69f0c92e8940086 /kernel
parent078d8e624c1837aa8ad65e58054a4a40d7ac46d2 (diff)
downloadop-kernel-dev-ce3959604878c1c693979ec552069dc8bdb5ccde.zip
op-kernel-dev-ce3959604878c1c693979ec552069dc8bdb5ccde.tar.gz
constify copy_siginfo_to_user{,32}()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ded28b9..940b30e 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2723,7 +2723,7 @@ COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset,
#ifndef HAVE_ARCH_COPY_SIGINFO_TO_USER
-int copy_siginfo_to_user(siginfo_t __user *to, siginfo_t *from)
+int copy_siginfo_to_user(siginfo_t __user *to, const siginfo_t *from)
{
int err;
OpenPOWER on IntegriCloud