projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: remove NF_CONNTRACK_ENABLED option
[firefly-linux-kernel-4.4.55.git]
/
ipc
/
compat.c
diff --git
a/ipc/compat.c
b/ipc/compat.c
index 8b44aa9a7c95dd928b2a4125d23381a3c1edcede..ab76fb0ef8443e373c845b4a82510f09d64a1e79 100644
(file)
--- a/
ipc/compat.c
+++ b/
ipc/compat.c
@@
-225,7
+225,7
@@
static inline int put_compat_semid_ds(struct semid64_ds *s,
int err;
if (!access_ok (VERIFY_WRITE, up, sizeof(*up)))
-
err =
-EFAULT;
+
return
-EFAULT;
err = __put_compat_ipc_perm(&s->sem_perm, &up->sem_perm);
err |= __put_user(s->sem_otime, &up->sem_otime);
err |= __put_user(s->sem_ctime, &up->sem_ctime);