summaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
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 /include/linux/compat.h
parent078d8e624c1837aa8ad65e58054a4a40d7ac46d2 (diff)
downloadtalos-op-linux-ce3959604878c1c693979ec552069dc8bdb5ccde.tar.gz
talos-op-linux-ce3959604878c1c693979ec552069dc8bdb5ccde.zip
constify copy_siginfo_to_user{,32}()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 345da00a86e0..78cdf51ff5ba 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -362,7 +362,7 @@ long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask,
long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask,
unsigned long bitmap_size);
int copy_siginfo_from_user32(siginfo_t *to, struct compat_siginfo __user *from);
-int copy_siginfo_to_user32(struct compat_siginfo __user *to, siginfo_t *from);
+int copy_siginfo_to_user32(struct compat_siginfo __user *to, const siginfo_t *from);
int get_compat_sigevent(struct sigevent *event,
const struct compat_sigevent __user *u_event);
long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, compat_pid_t pid, int sig,
OpenPOWER on IntegriCloud