Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3835a9bd authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

[PATCH] fs/compat.c: fix 'if (a |= b )' typo



Mentioned by Mark Armbrust somewhere on Usenet.

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb53a761
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1913,7 +1913,7 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
	}

	if (sigmask) {
		if (sigsetsize |= sizeof(compat_sigset_t))
		if (sigsetsize != sizeof(compat_sigset_t))
			return -EINVAL;
		if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
			return -EFAULT;